Skip to content

Commit 8345530

Browse files
committed
Backwards compat option in build.py
1 parent 453711a commit 8345530

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ def main():
3232
help="The root of build directory. If unset, a temporary directory will be used.",
3333
default="",
3434
)
35+
parser.add_argument(
36+
"--enable_test", default=False, help="Enable all tests", action="store_true"
37+
)
3538
parser.add_argument(
3639
"--enable_unit_test",
3740
default=False,
@@ -61,6 +64,10 @@ def main():
6164
"--vcpkg_root must point to a directory. Install from https://vcpkg.io if necessary."
6265
)
6366

67+
if args.enable_test: # For backwards compat
68+
args.enable_unit_test = True
69+
args.enable_integration_test = True
70+
6471
source_dir = os.path.dirname(os.path.realpath(__file__))
6572
os.chdir(get_build_root(args.build_root))
6673
configure_args = [

0 commit comments

Comments
 (0)