1
0
Fork 0

do not set ARTIQ_LOW_LATENCY on Windows

QEMU user networking + socat isn't low-latency.
This commit is contained in:
Sebastien Bourdeauducq 2019-04-24 11:21:06 +08:00
parent 126aff5f5d
commit 960479de88
2 changed files with 2 additions and 2 deletions

View File

@ -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
''; '';
} }

View File

@ -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