re-enable ping

This commit is contained in:
Sebastien Bourdeauducq 2019-02-19 00:57:06 +08:00
parent 5d209faf80
commit 5dda10720f
2 changed files with 7 additions and 3 deletions

View File

@ -21,9 +21,9 @@ with open(hydra_log, "w") as log:
run("artiq_flash", "-t", "kc705", "-V", "nist_clock") run("artiq_flash", "-t", "kc705", "-V", "nist_clock")
time.sleep(15) time.sleep(10)
#run("ping", "kc705-1", "-c10", "-w30") run("ping", "kc705-1", "-c10", "-w30")
env = { env = {
"ARTIQ_ROOT": artiq.__path__ + "/examples/kc705_nist_clock", "ARTIQ_ROOT": artiq.__path__ + "/examples/kc705_nist_clock",

View File

@ -28,6 +28,10 @@ in
constituents = builtins.attrValues jobs; constituents = builtins.attrValues jobs;
}; };
extended-tests = pkgs.runCommand "extended-tests" { extended-tests = pkgs.runCommand "extended-tests" {
propagatedBuildInputs = [(pkgs.python3.withPackages(ps: [artiqpkgs.artiq artiqpkgs.artiq-board-kc705-nist_clock])) artiqpkgs.openocd]; propagatedBuildInputs = [
(pkgs.python3.withPackages(ps: [artiqpkgs.artiq artiqpkgs.artiq-board-kc705-nist_clock]))
artiqpkgs.openocd
pkgs.iputils
];
} "cp ${./extended-tests.py} $out;"; } "cp ${./extended-tests.py} $out;";
} }