diff options
author | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-02-07 14:57:02 -0500 |
---|---|---|
committer | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-02-07 14:58:02 -0500 |
commit | a303fa31409893303b21c3938c9d34c97cf531a0 (patch) | |
tree | d361e474e442ba4ec80aa0585ff25eb97b491a2a /SConstruct | |
parent | b5563fde2a1a0beac8ce58db619300adc9f3a7d9 (diff) | |
download | mongo-a303fa31409893303b21c3938c9d34c97cf531a0.tar.gz |
SERVER-39358 Disable building `dbtest` when not building jstests or shell.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index c2ad08211b4..a6dfd4998c2 100644 --- a/SConstruct +++ b/SConstruct @@ -3841,7 +3841,12 @@ env.SConscript( variant_dir='$BUILD_DIR', ) -all = env.Alias('all', ['core', 'tools', 'dbtest', 'unittests', 'integration_tests', 'benchmarks']) +allTargets = ['core', 'tools', 'unittests', 'integration_tests', 'benchmarks'] + +if not has_option('noshell') and usemozjs: + allTargets.extend(['dbtest']) + +env.Alias('all', allTargets) # run the Dagger tool if it's installed if should_dagger: |