X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fppu_tu.py;h=1ce2b64fd040dc196dbf051c07c7156bdec879d7;hb=96bc9c67fc993dc918ea80c208096b9523a68f6f;hp=563774a953336151da78cf9f4bc8b10440f39410;hpb=22ed67cfa4f3c5d265c388265d8f80c86565050c;p=ppu.git diff --git a/tests/ppu_tu.py b/tests/ppu_tu.py index 563774a..1ce2b64 100644 --- a/tests/ppu_tu.py +++ b/tests/ppu_tu.py @@ -3,6 +3,7 @@ import os import shutil +import sys from tempfile import mkdtemp @@ -23,6 +24,7 @@ def find_in_path(name): test_prog_path = os.path.join(path, name) if os.path.exists(test_prog_path): return test_prog_path + sys.exit("Cannot find %s in %s" % (name, os.environ["PATH"])) def create_files(files, subdirectory=None):