@@ -1847,19 +1847,19 @@ end
1847
1847
end
1848
1848
"""
1849
1849
cmd = setenv (` $(julia) --project=$(project) -e $(testcode * extracode) ` , env)
1850
- @test success (cmd)
1850
+ @test success (pipeline ( cmd; stdout , stderr ) )
1851
1851
# JULIA_PROJECT
1852
1852
cmd = setenv (` $(julia) -e $(testcode * extracode) ` ,
1853
1853
(env[" JULIA_PROJECT" ] = project; env))
1854
- @test success (cmd)
1854
+ @test success (pipeline ( cmd; stdout , stderr ) )
1855
1855
# Pkg.activate(...)
1856
1856
activateish = """
1857
1857
Base.ACTIVE_PROJECT[] = $(repr (project))
1858
1858
using DistributedNext
1859
1859
addprocs(1)
1860
1860
"""
1861
1861
cmd = setenv (` $(julia) -e $(activateish * testcode * extracode) ` , env)
1862
- @test success (cmd)
1862
+ @test success (pipeline ( cmd; stdout , stderr ) )
1863
1863
# JULIA_(LOAD|DEPOT)_PATH
1864
1864
shufflecode = """
1865
1865
d = reverse(DEPOT_PATH)
@@ -1878,7 +1878,7 @@ end
1878
1878
end
1879
1879
"""
1880
1880
cmd = setenv (` $(julia) -e $(shufflecode * addcode * testcode * extracode) ` , env)
1881
- @test success (cmd)
1881
+ @test success (pipeline ( cmd; stdout , stderr ) )
1882
1882
# Mismatch when shuffling after proc addition. Note that the use of
1883
1883
# `addcode` mimics the behaviour of -p1 as the first worker is started
1884
1884
# before `shufflecode` executes.
@@ -1890,7 +1890,7 @@ end
1890
1890
end
1891
1891
"""
1892
1892
cmd = setenv (` $(julia) -e $(failcode) ` , env)
1893
- @test success (cmd)
1893
+ @test success (pipeline ( cmd; stdout , stderr ) )
1894
1894
1895
1895
# Hideous hack to double escape path separators on Windows so that it gets
1896
1896
# interpolated into the string (and then Cmd) correctly.
@@ -1917,7 +1917,7 @@ end
1917
1917
end
1918
1918
"""
1919
1919
cmd = setenv (` $(julia) -e $(envcode) ` , env)
1920
- @test success (cmd)
1920
+ @test success (pipeline ( cmd; stdout , stderr ) )
1921
1921
end end
1922
1922
end
1923
1923
0 commit comments