@@ -1847,19 +1847,19 @@ end
18471847 end
18481848 """
18491849 cmd = setenv (` $(julia) --project=$(project) -e $(testcode * extracode) ` , env)
1850- @test success (cmd)
1850+ @test success (pipeline ( cmd; stdout , stderr ) )
18511851 # JULIA_PROJECT
18521852 cmd = setenv (` $(julia) -e $(testcode * extracode) ` ,
18531853 (env[" JULIA_PROJECT" ] = project; env))
1854- @test success (cmd)
1854+ @test success (pipeline ( cmd; stdout , stderr ) )
18551855 # Pkg.activate(...)
18561856 activateish = """
18571857 Base.ACTIVE_PROJECT[] = $(repr (project))
18581858 using DistributedNext
18591859 addprocs(1)
18601860 """
18611861 cmd = setenv (` $(julia) -e $(activateish * testcode * extracode) ` , env)
1862- @test success (cmd)
1862+ @test success (pipeline ( cmd; stdout , stderr ) )
18631863 # JULIA_(LOAD|DEPOT)_PATH
18641864 shufflecode = """
18651865 d = reverse(DEPOT_PATH)
@@ -1878,7 +1878,7 @@ end
18781878 end
18791879 """
18801880 cmd = setenv (` $(julia) -e $(shufflecode * addcode * testcode * extracode) ` , env)
1881- @test success (cmd)
1881+ @test success (pipeline ( cmd; stdout , stderr ) )
18821882 # Mismatch when shuffling after proc addition. Note that the use of
18831883 # `addcode` mimics the behaviour of -p1 as the first worker is started
18841884 # before `shufflecode` executes.
@@ -1890,7 +1890,7 @@ end
18901890 end
18911891 """
18921892 cmd = setenv (` $(julia) -e $(failcode) ` , env)
1893- @test success (cmd)
1893+ @test success (pipeline ( cmd; stdout , stderr ) )
18941894
18951895 # Hideous hack to double escape path separators on Windows so that it gets
18961896 # interpolated into the string (and then Cmd) correctly.
@@ -1917,7 +1917,7 @@ end
19171917 end
19181918 """
19191919 cmd = setenv (` $(julia) -e $(envcode) ` , env)
1920- @test success (cmd)
1920+ @test success (pipeline ( cmd; stdout , stderr ) )
19211921 end end
19221922end
19231923
0 commit comments