Skip to content

Commit

Permalink
reg
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Dec 27, 2024
1 parent 4b8ceee commit f6466ce
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,16 @@
str/split-lines
first))

(defn java-version []
(-> (api/process {:command-args [(find-java) "-version"]
:out :capture})
:out
str/split-lines
first))

(deftest test-compile-passthrough-opts
(prn :java-version (System/getProperty "java.version"))
(prn :java-version (java-version))
(when-not (str/starts-with? (System/getProperty "java.version") "1.")
(let [java-cmd (find-java)]
(with-test-dir "test-data/p1"
Expand Down

0 comments on commit f6466ce

Please sign in to comment.