move jdk24 jvm-opts to separate
Signed-off-by: Sean Corfield <sean@corfield.org>
This commit is contained in:
parent
a40abc285e
commit
14b4c3435f
2 changed files with 11 additions and 7 deletions
8
deps.edn
8
deps.edn
|
|
@ -50,7 +50,7 @@
|
|||
org.apache.logging.log4j/log4j-jul {:mvn/version "2.24.3"}
|
||||
org.apache.logging.log4j/log4j-slf4j-impl {:mvn/version "2.24.3"}
|
||||
org.apache.logging.log4j/log4j-slf4j2-impl {:mvn/version "2.24.3"}}
|
||||
:jvm-opts ["-Dlog4j2.configurationFile=log4j2-info.properties"
|
||||
;; for SQLite on JDK 24:
|
||||
"--enable-native-access=ALL-UNNAMED"]}
|
||||
:runner {:main-opts ["-m" "lazytest.main"]}}}
|
||||
:jvm-opts ["-Dlog4j2.configurationFile=log4j2-info.properties"]}
|
||||
:runner {:main-opts ["-m" "lazytest.main"]}
|
||||
:jdk24 {:jvm-opts [;; for SQLite on JDK 24 locally
|
||||
"--enable-native-access=ALL-UNNAMED"]}}}
|
||||
|
|
|
|||
|
|
@ -5,9 +5,13 @@
|
|||
(defn- run-tests [env v]
|
||||
(when v (println "\nTesting Clojure" v))
|
||||
(let [{:keys [exit]}
|
||||
(p/shell {:extra-env env} "clojure" (str "-M"
|
||||
(p/shell {:extra-env env}
|
||||
"clojure"
|
||||
(str "-M"
|
||||
(when v (str ":" v))
|
||||
":test:runner")
|
||||
":test:runner"
|
||||
;; to suppress native access warnings on JDK24:
|
||||
":jdk24")
|
||||
"--output" "dots")]
|
||||
(when-not (zero? exit)
|
||||
(System/exit exit))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue