forked from M-Labs/nix-scripts
force extended-tests re-run
This commit is contained in:
parent
e412efa5d6
commit
93f1c15d9f
4
main.nix
4
main.nix
|
@ -24,7 +24,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/passed3
|
cp ${generatedNix}/pkgs/artiq-version.nix $TMPDIR/passed4
|
||||||
HASH=`nix-hash --type sha256 --base32 $TMPDIR`
|
HASH=`nix-hash --type sha256 --base32 $TMPDIR`
|
||||||
echo \"$HASH\" > $out
|
echo \"$HASH\" > $out
|
||||||
'';
|
'';
|
||||||
|
@ -92,7 +92,7 @@ in
|
||||||
${windowsRunner { testCommand = "set ARTIQ_ROOT=%cd%\\anaconda\\envs\\artiq-env\\Lib\\site-packages\\artiq\\examples\\kc705_nist_clock&&set ARTIQ_LOW_LATENCY=1&&python -m unittest discover -v artiq.test"; }}/bin/run.sh
|
${windowsRunner { testCommand = "set ARTIQ_ROOT=%cd%\\anaconda\\envs\\artiq-env\\Lib\\site-packages\\artiq\\examples\\kc705_nist_clock&&set ARTIQ_LOW_LATENCY=1&&python -m unittest discover -v artiq.test"; }}/bin/run.sh
|
||||||
|
|
||||||
mkdir $out
|
mkdir $out
|
||||||
cp ${generatedNix}/pkgs/artiq-version.nix $out/passed3
|
cp ${generatedNix}/pkgs/artiq-version.nix $out/passed4
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue