From 5dda10720f7b1100452721f2bf0bd197a493b555 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 19 Feb 2019 00:57:06 +0800 Subject: [PATCH] re-enable ping --- extended-tests.py | 4 ++-- main.nix | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/extended-tests.py b/extended-tests.py index e00a851..cbb0c36 100644 --- a/extended-tests.py +++ b/extended-tests.py @@ -21,9 +21,9 @@ with open(hydra_log, "w") as log: 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 = { "ARTIQ_ROOT": artiq.__path__ + "/examples/kc705_nist_clock", diff --git a/main.nix b/main.nix index 4bd4b72..166341a 100644 --- a/main.nix +++ b/main.nix @@ -28,6 +28,10 @@ in constituents = builtins.attrValues jobs; }; 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;"; }