Issue 2368: Fix an exception when a null command-line argument is
[scons.git] / test / dependency-cycle.py
index b2a89743268a88de96001c44ac52be25b757e9d3..42c9392c614d412b8ab4dfa51372baabc200f71e 100644 (file)
@@ -49,7 +49,10 @@ f1(void)
 """)
 
 test.run(arguments = ".", stderr=r"""
-scons: \*\*\* Dependency cycle: .*foo1.* -> .*foo3.* -> .*foo2.* -> .*foo1.*
+scons: \*\*\* Found dependency cycle\(s\):
+  .*foo1.* -> .*foo3.* -> .*foo2.* -> .*foo1.*
+  .*foo3.* -> .*foo2.* -> .*foo1.* -> .*foo3.*
+
 .*
 """, status=2)
 
@@ -59,3 +62,8 @@ test.fail_test(test.stdout() == "")
 test.pass_test()
 
 
+# Local Variables:
+# tab-width:4
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=4 shiftwidth=4: