Skip to content

Issue detecting test namespaces #10

@arichiardi

Description

@arichiardi

I am having some issue in the replumb project with the runner.

Basically when I display the classpath, I see the folders there:

$ clojure -Srepro -A:dev:test:node -Spath
test/common:src/node:repl-demo/node/cljs:test/node:src/cljs:test/common:...

but the runner does only:

$ ./scripts/test
+ export NODE_ENV=dev
+ NODE_ENV=dev
+ output_dir=.cljs-test-runner
+ main_cmd='clojure -Srepro -A:dev:test:node -m cljs-test-runner.main -V  --out .cljs-test-runner  --env node'
+ watch_args=
+ [[ '' =~ --watch ]]
+ main_cmd+=' '
+ main_cmd+=' --namespace replumb.cache-test'
+ clojure -Srepro -A:dev:test:node -m cljs-test-runner.main -V --out .cljs-test-runner --env node --namespace replumb.cache-test
Options passed to ClojureScript compiler: {:output-dir ".cljs-test-runner", :closure-warnings {:check-types :off, :check-variables :off}, :closure-defines {"cljs.core._STAR_target_STAR_" "nodejs"}, :ups-libs nil, :cache-analysis true, :closure-module-roots [], :optimizations :none, :ups-foreign-libs [], :verbose true, :aot-cache false, :ignore-js-module-exts [".css"], :output-to ".cljs-test-runner/test-runner.js", :preamble ["cljs/imul.js"], :ups-externs nil, :opts-cache "cljsc_opts.edn", :source-map true, :cache-analysis-format :transit, :target :nodejs, :main test.runner, :emit-constants nil}
Copying jar:file:/home/arichiardi/.m2/repository/org/clojure/core.rrb-vector/0.0.11/core.rrb-vector-0.0.11.jar!/clojure/core/rrb_vector/protocols.cljs to .cljs-test-runner/clojure/core/rrb_vector/protocols.cljs
Reading analysis cache for jar:file:/home/arichiardi/.m2/repository/org/clojure/clojurescript/1.10.339/clojurescript-1.10.339.jar!/cljs/core.cljs
Compiling .cljs-test-runner/clojure/core/rrb_vector/protocols.cljs to .cljs-test-runner/clojure/core/rrb_vector/protocols.js

I wonder what it is going wrong, the classpath is built correctly. It might be something very silly on my end and the runner works in other projects with aliases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions