gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin-tests] branch master updated: fix parser invocation


From: gnunet
Subject: [libeufin-tests] branch master updated: fix parser invocation
Date: Tue, 24 Nov 2020 15:57:02 +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 a627a76  fix parser invocation
a627a76 is described below

commit a627a76319bebe630bdb2bf65bc7a74b1dbd1300
Author: MS <ms@taler.net>
AuthorDate: Tue Nov 24 15:56:53 2020 +0100

    fix parser invocation
---
 bootstrap |  1 +
 checks.py | 10 ++++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/bootstrap b/bootstrap
index 52977a8..81f5179 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,3 +1,4 @@
 #!/bin/bash
 
+git submodule update --init
 git submodule update --remote
diff --git a/checks.py b/checks.py
index 3cee193..7abf8db 100755
--- a/checks.py
+++ b/checks.py
@@ -4,9 +4,11 @@ import os
 from subprocess import check_call
 
 def call_parser(xml_file):
-    assert os.path.isdir("./libeufin")
     assert os.path.isfile(xml_file)
-    check_call(["./gradlew", "-p",  "./libeufin", "nexus:run", 
f"--args=parse-camt {xml_file}"])
+    xml_file_abs = os.path.abspath(xml_file)
+    check_call([
+        "./libeufin/gradlew", "-p",  "./libeufin", "nexus:run", 
f"--args=parse-camt {xml_file_abs}"
+    ])
 
-def test_camt_foo():
-    call_parser("samples/foo.xml")
+def test_camt53_example1():
+    call_parser("./samples/camt53_example1.xml")

-- 
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]