The stacks appear to be different, so maybe the JIT is different on Linux and disabling it will get stable output?

This commit is contained in:
Jay McCarthy 2010-11-02 15:44:00 -06:00
parent 2787cc85c8
commit 6d2042fbd9
3 changed files with 5 additions and 4 deletions

View File

@ -1870,6 +1870,7 @@ path/s is either such a string or a list of them.
"collects/tests/rackunit" responsible (jay noel) "collects/tests/rackunit" responsible (jay noel)
"collects/tests/rackunit/standalone-check-test.rkt" drdr:command-line #f "collects/tests/rackunit/standalone-check-test.rkt" drdr:command-line #f
"collects/tests/rackunit/standalone-test-case-test.rkt" drdr:command-line #f "collects/tests/rackunit/standalone-test-case-test.rkt" drdr:command-line #f
"collects/tests/rackunit/standalone.rkt" drdr:command-line (racket "-qjt" *)
"collects/tests/run-automated-tests.rkt" drdr:command-line (mzc "-k" *) drdr:timeout 600 "collects/tests/run-automated-tests.rkt" drdr:command-line (mzc "-k" *) drdr:timeout 600
"collects/tests/scribble" responsible (eli) "collects/tests/scribble" responsible (eli)
"collects/tests/slatex" responsible (jay sstrickl) "collects/tests/slatex" responsible (jay sstrickl)

View File

@ -12,8 +12,8 @@
(test-case "succeed" (check-eq? 1 1)) (test-case "succeed" (check-eq? 1 1))
;; These should raise errors ;; These should raise errors
(test-begin (error "Outta here!")) (test-begin (error "First Outta here!"))
(test-case "error" (error "Outta here!")) (test-case "error" (error "Second Outta here!"))
;; Thesse should raise failures ;; Thesse should raise failures
(test-begin (check-eq? 1 2)) (test-begin (check-eq? 1 2))

View File

@ -29,9 +29,9 @@
(test-file "standalone-check-test.rkt" (test-file "standalone-check-test.rkt"
#"Oh HAI!\nI didn't run\n" #"Oh HAI!\nI didn't run\n"
#"--------------------\nERROR\nOutta here!\n\n === context ===\nPLTHOME/collects/rackunit/private/check.rkt:144:29\nPLTHOME/collects/rackunit/private/check.rkt:77:0: top-level-check-around\nPLTHOME/collects/tests/rackunit/standalone-check-test.rkt: [running body]\nPLTHOME/collects/tests/rackunit/standalone.rkt: [running body]\n\n\n--------------------\n--------------------\nFAILURE\nname: check\nlocation: (#<path:PLTHOME/collects/tests/rackunit/standalone-check-test.rkt> 44 0 1344 17)\nexpression: (check = 1 2)\nparams: (#<procedure:=> 1 2)\nmessage: 0.0\n\n--------------------\n") #"--------------------\nERROR\nOutta here!\n\n === context ===\nPLTHOME/collects/tests/rackunit/standalone-check-test.rkt:40:12: temp7\nPLTHOME/collects/rackunit/private/check.rkt:144:29\nPLTHOME/collects/racket/private/more-scheme.rkt:207:2: call-handled-body\nPLTHOME/collects/rackunit/private/check.rkt:77:0: top-level-check-around\n\n\n--------------------\n--------------------\nFAILURE\nname: check\nlocation: (#<path:PLTHOME/collects/tests/rackunit/standalone-check-test.rkt> 44 0 1344 17)\nexpression: (check = 1 2)\nparams: (#<procedure:=> 1 2)\nmessage: 0.0\n\n--------------------\n")
(test-file "standalone-test-case-test.rkt" (test-file "standalone-test-case-test.rkt"
#"#t\n#t\n" #"#t\n#t\n"
#"--------------------\nUnnamed test \nERROR\nOutta here!\n\n === context ===\nPLTHOME/collects/tests/rackunit/standalone-test-case-test.rkt: [running body]\n\n\n--------------------\n--------------------\nerror\nERROR\nOutta here!\n\n--------------------\n--------------------\nUnnamed test \nFAILURE\nname: check-eq?\nlocation: (#<path:PLTHOME/collects/tests/rackunit/standalone-test-case-test.rkt> 19 12 507 15)\nexpression: (check-eq? 1 2)\nparams: (1 2)\nactual: 1\nexpected: 2\n\n--------------------\n--------------------\nfailure\nFAILURE\nname: check-eq?\nlocation: (#<path:PLTHOME/collects/tests/rackunit/standalone-test-case-test.rkt> 20 21 545 15)\nexpression: (check-eq? 1 2)\nparams: (1 2)\nactual: 1\nexpected: 2\n\n--------------------\n") #"--------------------\nUnnamed test \nERROR\nFirst Outta here!\n\n === context ===\nPLTHOME/collects/racket/private/more-scheme.rkt:207:2: call-handled-body\n\n\n--------------------\n--------------------\nerror\nERROR\nSecond Outta here!\n\n === context ===\nPLTHOME/collects/racket/private/more-scheme.rkt:207:2: call-handled-body\n\n\n--------------------\n--------------------\nUnnamed test \nFAILURE\nname: check-eq?\nlocation: (#<path:PLTHOME/collects/tests/rackunit/standalone-test-case-test.rkt> 19 12 520 15)\nexpression: (check-eq? 1 2)\nparams: (1 2)\nactual: 1\nexpected: 2\n\n--------------------\n--------------------\nfailure\nFAILURE\nname: check-eq?\nlocation: (#<path:PLTHOME/collects/tests/rackunit/standalone-test-case-test.rkt> 20 21 558 15)\nexpression: (check-eq? 1 2)\nparams: (1 2)\nactual: 1\nexpected: 2\n\n--------------------\n")