From 8cf0628435a48e7357d9a467b3d473cb0c5cf659 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 18 May 2017 23:41:01 +0800 Subject: [PATCH] fix lit tests --- artiq/test/lit/lit.cfg | 3 ++- artiq/test/{ => lit}/not.py | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename artiq/test/{ => lit}/not.py (100%) diff --git a/artiq/test/lit/lit.cfg b/artiq/test/lit/lit.cfg index 3963ceec4..c31490091 100644 --- a/artiq/test/lit/lit.cfg +++ b/artiq/test/lit/lit.cfg @@ -11,6 +11,7 @@ root = os.path.join(os.path.dirname(__file__), "..") config.name = "ARTIQ" config.test_format = lit.formats.ShTest() config.suffixes = [".py"] +config.excludes = ["not.py", "device_db.py"] if os.getenv("COVERAGE"): config.environment["COVERAGE_FILE"] = os.path.join(root, "..", ".coverage") @@ -22,7 +23,7 @@ config.substitutions.append( ("%python", python) ) if os.getenv("PYTHONPATH"): config.environment["PYTHONPATH"] = os.getenv("PYTHONPATH") -not_ = "{} {}".format(sys.executable, os.path.join(root, "not.py")) +not_ = "{} {}".format(sys.executable, os.path.join(root, "lit", "not.py")) config.substitutions.append( ("%not", not_) ) if os.name == "posix": diff --git a/artiq/test/not.py b/artiq/test/lit/not.py similarity index 100% rename from artiq/test/not.py rename to artiq/test/lit/not.py