Merge pull request #33487 from LnL7/sierra-shared-test
sierra-shared-test: fix build
This commit is contained in:
commit
88c227ff75
|
@ -3,7 +3,7 @@
|
||||||
let
|
let
|
||||||
makeBigExe = stdenv: prefix: rec {
|
makeBigExe = stdenv: prefix: rec {
|
||||||
|
|
||||||
count = 500;
|
count = 320;
|
||||||
|
|
||||||
sillyLibs = lib.genList (i: stdenv.mkDerivation rec {
|
sillyLibs = lib.genList (i: stdenv.mkDerivation rec {
|
||||||
name = "${prefix}-fluff-${toString i}";
|
name = "${prefix}-fluff-${toString i}";
|
||||||
|
@ -75,13 +75,14 @@ in stdenvNoCC.mkDerivation {
|
||||||
buildInputs = [ good.finalExe bad.finalExe ];
|
buildInputs = [ good.finalExe bad.finalExe ];
|
||||||
# TODO(@Ericson2314): Be impure or require exact MacOS version of builder?
|
# TODO(@Ericson2314): Be impure or require exact MacOS version of builder?
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
if bad-asdf
|
if bad-asdf &> /dev/null
|
||||||
then echo "bad-asdf can succeed on non-sierra, OK" >&2
|
then echo "WARNING: bad-asdf did not fail, not running on sierra?" >&2
|
||||||
else echo "bad-asdf should fail on sierra, OK" >&2
|
else echo "bad-asdf should fail on sierra, OK" >&2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Must succeed on all supported MacOS versions
|
# Must succeed on all supported MacOS versions
|
||||||
good-asdf
|
good-asdf
|
||||||
|
echo "good-asdf should succeed on sierra, OK"
|
||||||
|
|
||||||
touch $out
|
touch $out
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue