Clojure

Test clojure.test-clojure.rt fails

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Windows XP, Cygwin, with Clojure built against the tip of the published "clojure/clojure" repository on GitHub

Description

When I run the mvn test command against Clojure built from source, I
encounter the following error in the test clojure.test-clojure.rt,
which appears to be due to the bare-rt-print function's use of the
var clojure.core/print-initialized:

{{Testing clojure.test-clojure.rt

ERROR in (rt-print-prior-to-print-initialize) (Var.java:339)
expected: (= "#\"foo\"" (bare-rt-print #"foo"))
actual: java.lang.IllegalStateException: Can't dynamically bind non-dynamic var: clojure.core/print-initialized
at clojure.lang.Var.pushThreadBindings (Var.java:339)
clojure.core$push_thread_bindings.invoke (core.clj:1656)
clojure.test_clojure.rt$bare_rt_print$fn__14891.invoke (rt.clj:46)
clojure.test_clojure.rt$bare_rt_print.invoke (rt.clj:45)
clojure.test_clojure.rt/fn (rt.clj:53)
clojure.test$test_var$fn__1762.invoke (test.clj:693)
clojure.test$test_var.invoke (test.clj:693)
clojure.test$test_all_vars$fn_1766$fn_1773.invoke (test.clj:709)
clojure.test$default_fixture.invoke (test.clj:663)
clojure.test$test_all_vars$fn__1766.invoke (test.clj:709)
clojure.test$default_fixture.invoke (test.clj:663)
clojure.test$test_all_vars.invoke (test.clj:705)
clojure.test$test_ns.invoke (test.clj:728)
clojure.core$map$fn__2231.invoke (core.clj:2371)
clojure.lang.LazySeq.sval (LazySeq.java:42)
clojure.lang.LazySeq.seq (LazySeq.java:60)
clojure.lang.ChunkedCons.chunkedNext (ChunkedCons.java:59)
clojure.core$chunk_next.invoke (core.clj:643)
clojure.core$reException in thread "main" java.lang.IllegalStateException: Pop without matching push
at clojure.lang.Var.popThreadBindings(Var.java:350)
at clojure.core$pop_thread_bindings.invoke(core.clj:1658)
at clojure.main$script_opt.invoke(main.clj:338)
at clojure.main$main.doInvoke(main.clj:426)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.lang.Var.invoke(Var.java:401)
at clojure.lang.AFn.applyToHelper(AFn.java:161)
at clojure.lang.Var.applyTo(Var.java:518)
at clojure.main.main(main.java:37)
duce1.invoke (core.clj:878)
clojure.core$reduce1.invoke (core.clj:870)
clojure.core$merge_with.doInvoke (core.clj:2588)
clojure.lang.RestFn.applyTo (RestFn.java:139)
clojure.core$apply.invoke (core.clj:602)
clojure.test$run_tests.doInvoke (test.clj:743)
clojure.lang.RestFn.applyTo (RestFn.java:137)
clojure.core$apply.invoke (core.clj:600)
clojure.test_clojure$eval19718.invoke (run_tests.clj:58)
clojure.lang.Compiler.eval (Compiler.java:6328)
clojure.lang.Compiler.load (Compiler.java:6765)
clojure.lang.Compiler.loadFile (Compiler.java:6726)
clojure.main$load_script.invoke (main.clj:282)
clojure.main$script_opt.invoke (main.clj:342)
clojure.main$main.doInvoke (main.clj:426)
clojure.lang.RestFn.invoke (RestFn.java:408)
clojure.lang.Var.invoke (Var.java:401)
clojure.lang.AFn.applyToHelper (AFn.java:161)
clojure.lang.Var.applyTo (Var.java:518)
clojure.main.main (main.java:37)}}

Activity

Stuart Sierra made changes -
Field Original Value New Value
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Stuart Halloway made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: