File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,8 @@ trait OsLibModule
8787 // we check the textual output of system commands and expect it in english
8888 def forkEnv = super .forkEnv() ++ Map (
8989 " LC_ALL" -> " C" ,
90- " TEST_SUBPROCESS_ENV" -> " value"
90+ " TEST_SUBPROCESS_ENV" -> " value" ,
91+ " OS_TEST_RESOURCE_FOLDER" -> os.jvm(crossValue).test.resources().head.path.toString
9192 )
9293 }
9394}
@@ -177,6 +178,7 @@ object os extends Module {
177178 def ivyDeps = Agg (Deps .jna)
178179 object test extends ScalaTests with OsLibTestModule {
179180 def moduleDeps = super .moduleDeps ++ Seq (os.jvm().test)
181+
180182 }
181183 }
182184 }
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ object TestUtil {
5757 }
5858 )
5959
60- val original = Paths .get(sys.env(" MILL_TEST_RESOURCE_FOLDER " ), " test" )
60+ val original = Paths .get(sys.env(" OS_TEST_RESOURCE_FOLDER " ), " test" )
6161 Files .walkFileTree(
6262 original,
6363 new SimpleFileVisitor [Path ]() {
You can’t perform that action at this time.
0 commit comments