diff options
Diffstat (limited to 'test/QT/reentrant.py')
-rw-r--r-- | test/QT/reentrant.py | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/test/QT/reentrant.py b/test/QT/reentrant.py index af19af9de..40fb1f19a 100644 --- a/test/QT/reentrant.py +++ b/test/QT/reentrant.py @@ -1,6 +1,8 @@ #!/usr/bin/env python # -# __COPYRIGHT__ +# MIT License +# +# Copyright The SCons Foundation # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -20,9 +22,6 @@ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# - -__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" """ Test creation from a copied environment that already has QT variables. @@ -59,11 +58,13 @@ test.write('main.cpp', r""" int main(void) { foo5(); return 0; } """) -test.run() - -test.run(program = test.workpath('main' + TestSCons._exe), - stdout = 'qt/include/foo5.h\n') +test.run(arguments="--warn=no-tool-qt-deprecated") +test.run( + arguments='--warn=no-tool-qt-deprecated', + program=test.workpath('main' + TestSCons._exe), + stdout='qt/include/foo5.h\n', +) test.pass_test() # Local Variables: |