From 79ffd1e0bfbcf8124e504573592ed56ee5e19191 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 21 Jan 2019 23:42:10 +0800 Subject: [PATCH] nix: enable pythonparser and artiq unittests --- nix/pkgs/artiq.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nix/pkgs/artiq.nix b/nix/pkgs/artiq.nix index e3db4cbfd..bf2dd8a5d 100644 --- a/nix/pkgs/artiq.nix +++ b/nix/pkgs/artiq.nix @@ -22,7 +22,6 @@ pythonparser = python3Packages.buildPythonPackage rec { sha256 = "1gw1fk4y2l6bwq0fg2a9dfc1rvq8cv492dyil96amjdhsxvnx35b"; }; propagatedBuildInputs = with python3Packages; [ regex ]; - doCheck = false; }; asyncserial = python3Packages.buildPythonPackage rec { @@ -69,7 +68,7 @@ python3Packages.buildPythonPackage rec { src = ./../..; buildInputs = [ git ]; propagatedBuildInputs = with python3Packages; [ binutils-or1k llvm-or1k llvmlite levenshtein pyqtgraph-qt5 aiohttp pygit2 pythonparser numpy dateutil quamash scipy prettytable pyserial asyncserial h5py cython regex qt5Full pyqt5 ]; - doCheck = false; + checkPhase = "python -m unittest discover -v artiq.test"; meta = with stdenv.lib; { description = "A leading-edge control system for quantum information experiments"; homepage = https://m-labs/artiq;