You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2020/12/10 08:43:42 UTC

[incubator-hop] branch master updated: HOP-2122: add a bit more flexibility (#453)

This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git


The following commit(s) were added to refs/heads/master by this push:
     new 2c1fe17  HOP-2122: add a bit more flexibility (#453)
2c1fe17 is described below

commit 2c1fe17b0ca64d0bf2580818605a90298c5ecf1e
Author: Hans Van Akelyen <ha...@gmail.com>
AuthorDate: Thu Dec 10 09:42:55 2020 +0100

    HOP-2122: add a bit more flexibility (#453)
    
    Allow both main_ and main- in workflow names
---
 integration-tests/scripts/run-tests.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/integration-tests/scripts/run-tests.sh b/integration-tests/scripts/run-tests.sh
index bbb6e29..87fe33b 100755
--- a/integration-tests/scripts/run-tests.sh
+++ b/integration-tests/scripts/run-tests.sh
@@ -44,7 +44,7 @@ for d in $current_dir/../*/ ; do
         $HOP_LOCATION/hop-conf.sh -pc -p $project_name -ph "$(readlink -f $d)"
 
         #Find main hwf files TODO: add hpl support when result is returned correctly
-        for f in $d/main_*.hwf ; do
+        for f in $d/main*.hwf ; do
 
             #cleanup temp files
             rm -f /tmp/test_output
@@ -54,6 +54,7 @@ for d in $current_dir/../*/ ; do
             hop_file="$(readlink -f $f)"
             test_name=$(basename $f)
             test_name=${test_name//'main_'/}
+            test_name=${test_name//'main-'/}
             test_name=${test_name//'.hwf'/}
 
             #Starting Test