gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin-tests] branch master updated: Move file-check into Python.


From: gnunet
Subject: [libeufin-tests] branch master updated: Move file-check into Python.
Date: Tue, 24 Nov 2020 16:31:01 +0100

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository libeufin-tests.

The following commit(s) were added to refs/heads/master by this push:
     new 5e156a0  Move file-check into Python.
5e156a0 is described below

commit 5e156a0751f6ce7afa9c5f02343b6a76198087a0
Author: MS <ms@taler.net>
AuthorDate: Tue Nov 24 16:30:46 2020 +0100

    Move file-check into Python.
---
 Makefile  | 5 +----
 checks.py | 5 +++++
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 8e03f94..95e4958 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,3 @@
-ifneq (libeufin/gradlew, $(wildcard libeufin/gradlew))
-$(error libeufin submodule is missing, run bootstrap?)
-endif
-
+.PHONY: check
 check:
        @py.test checks.py
diff --git a/checks.py b/checks.py
index 7abf8db..16524f6 100755
--- a/checks.py
+++ b/checks.py
@@ -1,8 +1,13 @@
 #!/usr/bin/env python3
 
 import os
+import sys
 from subprocess import check_call
 
+if not os.path.isfile("./libeufin/gradlew"):
+    print("libeufin submodule is missing.  Run bootstrap first?")
+    sys.exit(1)
+
 def call_parser(xml_file):
     assert os.path.isfile(xml_file)
     xml_file_abs = os.path.abspath(xml_file)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]