diff options
author | Greg Studer <greg@10gen.com> | 2014-09-15 19:41:53 -0400 |
---|---|---|
committer | Greg Studer <greg@10gen.com> | 2014-09-15 19:42:10 -0400 |
commit | 4677734e7a065141012c1b63140fd64c8ea3170b (patch) | |
tree | b4444167cd5c87674d47ae1011e2a638accfcfe6 /site_scons | |
parent | d427859985fffb76278a104d46a1a913528dbc4a (diff) | |
download | mongo-4677734e7a065141012c1b63140fd64c8ea3170b.tar.gz |
Revert "SERVER-1424 (re)smoke tag parsing and new test library, v0"
This reverts commit fac5571f67e23a1339e20e0621bab0ba2a6b7163.
Diffstat (limited to 'site_scons')
-rw-r--r-- | site_scons/site_tools/unittest.py (renamed from site_scons/site_tools/mongo_unittest.py) | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/site_scons/site_tools/mongo_unittest.py b/site_scons/site_tools/unittest.py index 70d66a02833..93ce02fefac 100644 --- a/site_scons/site_tools/mongo_unittest.py +++ b/site_scons/site_tools/unittest.py @@ -1,11 +1,6 @@ """Pseudo-builders for building and registering unit tests. """ -import os -import json - -from buildscripts import smoke - def exists(env): return True @@ -22,24 +17,8 @@ def unit_test_list_builder_action(env, target, source): ofile.write('%s\n' % s) finally: ofile.close() - - dir, filename = os.path.split(str(target[0])) - filebase, ext = os.path.splitext(filename) - - # Generate metadata file for unit tests - metadata_filename = os.path.join(dir, ".".join([filebase, "json"])) - print "Generating metadata file %s" % metadata_filename - - tests = [] - for s in source: - tests.append(smoke.tests.Test(filename=str(s), test_type="exe_test")) - print '\t' + str(s) - - # For now, write JSON to avoid YAML parsing dependency - smoke.tests.write_metadata(tests, metadata_filename, json_only=True) def build_cpp_unit_test(env, target, source, **kwargs): - libdeps = kwargs.get('LIBDEPS', []) libdeps.append( '$BUILD_DIR/mongo/unittest/unittest_main' ) |