1
0
Fork 0

re-run kc705-tests

This commit is contained in:
Sebastien Bourdeauducq 2019-03-14 17:51:50 +08:00
parent 11f054c94b
commit c9003fb702
1 changed files with 2 additions and 2 deletions

View File

@ -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/passed8 cp ${generatedNix}/pkgs/artiq-version.nix $TMPDIR/passed9
HASH=`nix-hash --type sha256 --base32 $TMPDIR` HASH=`nix-hash --type sha256 --base32 $TMPDIR`
echo \"$HASH\" > $out echo \"$HASH\" > $out
''; '';
@ -73,7 +73,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/passed8 cp ${generatedNix}/pkgs/artiq-version.nix $out/passed9
''; '';
}; };
} }