1. SCons
  2. Core
  3. SCons

Source

SCons / test / Value.py

Diff from to

File test/Value.py

     #" <- unconfuses emacs syntax highlighting
 
     test.must_contain_all_lines(test.stdout(), [out1, out2, out7, out8])
-    print test.stdout()
+    #print test.stdout()
     test.fail_test(re.search(out3, test.stdout()) == None)
 
     test.must_match('f1.out', "/usr/local")
 
     test.up_to_date(arguments='.')
 
-    test.run(arguments='prefix=/usr')
+    test.run(options='prefix=/usr')
     out4 = """create(["f1.out"], ['/usr'])"""
     out5 = """create(["f2.out"], [4])"""
     out6 = """create\\(\\["f3.out"\\], \\[<.*.Custom (instance|object) at """
     test.must_match('f3.out', "C=/usr")
     test.must_match('f4.out', '4')
 
-    test.up_to_date('prefix=/usr', '.')
+    test.up_to_date(options='prefix=/usr', arguments='.')
 
     test.unlink('f3.out')
 
-    test.run(arguments='prefix=/var')
+    test.run(options='prefix=/var')
     out4 = """create(["f1.out"], ['/var'])"""
 
     test.must_contain_all_lines(test.stdout(), [out4, out7, out8])
     test.must_not_contain_any_line(test.stdout(), [out5])
     test.fail_test(re.search(out6, test.stdout()) == None)
 
-    test.up_to_date('prefix=/var', '.')
+    test.up_to_date(options='prefix=/var', arguments='.')
 
     test.must_match('f1.out', "/var")
     test.must_match('f2.out', "4")