forked from M-Labs/nix-scripts
re-run kc705-tests
This commit is contained in:
parent
d1b5bf9099
commit
d257c14d7e
4
main.nix
4
main.nix
|
@ -20,7 +20,7 @@ let
|
||||||
generateTestOkHash = pkgs.runCommand "generate-test-ok-hash" { buildInputs = [ pkgs.nix ]; }
|
generateTestOkHash = pkgs.runCommand "generate-test-ok-hash" { buildInputs = [ pkgs.nix ]; }
|
||||||
''
|
''
|
||||||
TMPDIR=`mktemp -d`
|
TMPDIR=`mktemp -d`
|
||||||
cp ${generatedNix}/pkgs/artiq-version.nix $TMPDIR/passed
|
cp ${generatedNix}/pkgs/artiq-version.nix $TMPDIR/passed2
|
||||||
HASH=`nix-hash --type sha256 --base32 $TMPDIR`
|
HASH=`nix-hash --type sha256 --base32 $TMPDIR`
|
||||||
echo \"$HASH\" > $out
|
echo \"$HASH\" > $out
|
||||||
'';
|
'';
|
||||||
|
@ -66,7 +66,7 @@ in
|
||||||
export ARTIQ_LOW_LATENCY=1
|
export ARTIQ_LOW_LATENCY=1
|
||||||
python -m unittest discover -v artiq.test.coredevice
|
python -m unittest discover -v artiq.test.coredevice
|
||||||
mkdir $out
|
mkdir $out
|
||||||
cp ${generatedNix}/pkgs/artiq-version.nix $out/passed
|
cp ${generatedNix}/pkgs/artiq-version.nix $out/passed2
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue