diff options
author | William Deegan <bill@baddogconsulting.com> | 2019-10-11 16:05:07 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2019-10-11 16:05:07 (GMT) |
commit | 883886b594fbf92d3b21adf49dc78aed13349209 (patch) | |
tree | 9af9eebe4047477598b7fd0db0f3ccc3c82c2bac /test | |
parent | 7b64ba14d84a48389b4d452d6d5dba69e3f9f93a (diff) | |
download | SCons-883886b594fbf92d3b21adf49dc78aed13349209.zip SCons-883886b594fbf92d3b21adf49dc78aed13349209.tar.gz SCons-883886b594fbf92d3b21adf49dc78aed13349209.tar.bz2 |
Move SConstruct from test to file fixture
Diffstat (limited to 'test')
-rw-r--r-- | test/fixture/SConstruct_test_main.py | 3 | ||||
-rw-r--r-- | test/option/debug-action-timestamps.py | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/test/fixture/SConstruct_test_main.py b/test/fixture/SConstruct_test_main.py new file mode 100644 index 0000000..8d2d2b0 --- /dev/null +++ b/test/fixture/SConstruct_test_main.py @@ -0,0 +1,3 @@ +DefaultEnvironment(tools=[]) +env = Environment() +env.Program('main.exe', ['main.c']) diff --git a/test/option/debug-action-timestamps.py b/test/option/debug-action-timestamps.py index 11a4bf5..0277516 100644 --- a/test/option/debug-action-timestamps.py +++ b/test/option/debug-action-timestamps.py @@ -31,11 +31,7 @@ _python_ = TestSCons._python_ def setup_fixtures(): test.file_fixture('../fixture/test_main.c', 'main.c') - test.write('SConstruct', """ -DefaultEnvironment(tools=[]) -env = Environment() -env.Program('main.exe', ['main.c']) -""") + test.file_fixture('../fixture/SConstruct_test_main.py', 'SConstruct') def test_help_function(): # Before anything else, make sure we get valid --debug=action_timestamps results |