Issue 2505: fix use of pre-compiled headers when the source .cpp
[scons.git] / test / option--random.py
index 8c7ef1e073faeb445596447435ba546985ec2722..0e5cc6686f68b5987279c6c19f5f9292c122f378 100644 (file)
@@ -64,7 +64,7 @@ test.run(arguments = '-n -Q')
 non_random_output = test.stdout()
 
 tries = 0
-max_tries = 3
+max_tries = 10
 while test.stdout() == non_random_output:
     if tries >= max_tries:
         print "--random generated the non-random output %s times!" % max_tries
@@ -82,7 +82,7 @@ test.run(arguments = '-n -Q')
 non_random_output = test.stdout()
 
 tries = 0
-max_tries = 3
+max_tries = 10
 while test.stdout() == non_random_output:
     if tries >= max_tries:
         print "--random generated the non-random output %s times!" % max_tries
@@ -116,3 +116,9 @@ test.run(arguments = '-c --random .')
 
 
 test.pass_test()
+
+# Local Variables:
+# tab-width:4
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=4 shiftwidth=4: