forked from M-Labs/nix-scripts
do not set ARTIQ_LOW_LATENCY on Windows
QEMU user networking + socat isn't low-latency.
This commit is contained in:
parent
126aff5f5d
commit
960479de88
|
@ -23,6 +23,6 @@ stdenv.mkDerivation {
|
||||||
installPhase = "touch $out";
|
installPhase = "touch $out";
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
${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&&python -m unittest discover -v artiq.test"; }}/bin/run.sh
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
2
main.nix
2
main.nix
|
@ -102,7 +102,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
|
||||||
|
|
||||||
${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.coredevice"; }}/bin/run.sh
|
${windowsRunner { testCommand = "set ARTIQ_ROOT=%cd%\\anaconda\\envs\\artiq-env\\Lib\\site-packages\\artiq\\examples\\kc705_nist_clock&&python -m unittest discover -v artiq.test.coredevice"; }}/bin/run.sh
|
||||||
|
|
||||||
mkdir $out
|
mkdir $out
|
||||||
cp ${generatedNix}/pkgs/artiq-version.nix $out/passed3
|
cp ${generatedNix}/pkgs/artiq-version.nix $out/passed3
|
||||||
|
|
Loading…
Reference in New Issue