summaryrefslogtreecommitdiffstats
path: root/test/QT/copied-env.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2021-11-07 20:39:50 (GMT)
committerMats Wichmann <mats@linux.com>2021-11-11 22:19:53 (GMT)
commit5093d3f59a2d33db040eb04ed4057cbd6bbd71b6 (patch)
tree8121fc5ac3afc318e8f092e36e4473c44d2bfb91 /test/QT/copied-env.py
parent6051c8beb7bc59f083552e9f431733e93fd56360 (diff)
downloadSCons-5093d3f59a2d33db040eb04ed4057cbd6bbd71b6.zip
SCons-5093d3f59a2d33db040eb04ed4057cbd6bbd71b6.tar.gz
SCons-5093d3f59a2d33db040eb04ed4057cbd6bbd71b6.tar.bz2
Deprecate the qt tool.
Updates tests to disable the warning that this change enables. Fix runtest.py to make sure -o logging option captures all the output. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/QT/copied-env.py')
-rw-r--r--test/QT/copied-env.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/QT/copied-env.py b/test/QT/copied-env.py
index be9f599..74f59b7 100644
--- a/test/QT/copied-env.py
+++ b/test/QT/copied-env.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
@@ -25,8 +27,6 @@
Test Qt with a copied construction environment.
"""
-__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-
import TestSCons
test = TestSCons.TestSCons()
@@ -63,7 +63,7 @@ test.write('MyForm.ui', r"""
void aaa(void)
""")
-test.run()
+test.run(arguments="--warn=no-tool-qt-deprecated")
moc_MyForm = [x for x in test.stdout().split('\n') if x.find('moc_MyForm') != -1]