summaryrefslogtreecommitdiffstats
path: root/test/LIBS.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/LIBS.py')
-rw-r--r--test/LIBS.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/test/LIBS.py b/test/LIBS.py
index ac5676c..7a99f68 100644
--- a/test/LIBS.py
+++ b/test/LIBS.py
@@ -120,7 +120,11 @@ SConscript('sub1/SConscript', 'env')
SConscript('sub2/SConscript', 'env')
""")
-test.run(arguments = '.')
+test.run(arguments = '.', stderr=None)
+
+# on IRIX, ld32 prints out a warning saying that libbaz.a isn't used
+sw = 'ld32: WARNING 84 : ./libbaz.a is not used for resolving any symbol.'
+test.fail_test(not test.stderr() in ['', sw])
test.run(program=foo_exe, stdout='sub1/bar.c\nsub1/baz.c\n')
@@ -145,11 +149,9 @@ void baz()
}
""")
-test.run(arguments = '.')
+test.run(arguments = '.', stderr=None)
+test.fail_test(not test.stderr() in ['', sw])
test.run(program=foo_exe, stdout='sub1/bar.c\nsub1/baz.c 2\n')
test.pass_test()
-
-
-