Skip to contentSkip to conversation

docker: gtester is no longer used

PATCH In review Paolo Bonzini 3 participants 3 messages Dec 18, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docker: gtester is no longer used

We are using tap-driver.pl, do not require anymore gtester to be installed to run the testsuite in docker-based tests.

---
 tests/docker/common.rc | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
tests/docker/common.rc +1 -6
index 512202b..02cd67a 100755
@@ -53,12 +53,7 @@ check_qemu()
         INVOCATION="$@"
     fi
 
-    if command -v gtester > /dev/null 2>&1 && \
-           gtester --version > /dev/null 2>&1; then
-        make $MAKEFLAGS $INVOCATION
-    else
-        echo "No working gtester, skipping make $INVOCATION"
-    fi
+    make $MAKEFLAGS $INVOCATION
 }
 
 test_fail()
Signature · 1 line
1.8.3.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 17 lines · Paolo Bonzini

We are using tap-driver.pl, do not require anymore gtester to be installed to run the testsuite in docker-based tests.

---
 tests/docker/common.rc | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
tests/docker/common.rc +0 -0
index 512202b..02cd67a 100755
@@ -53,12 +53,7 @@ check_qemu()
         INVOCATION="$@"
     fi
 

tests/docker/common.rc check_qemu() · line 59

Quoted 10 lines
tests/docker/common.rc +1 -6
-    if command -v gtester > /dev/null 2>&1 && \
-           gtester --version > /dev/null 2>&1; then
-        make $MAKEFLAGS $INVOCATION
-    else
-        echo "No working gtester, skipping make $INVOCATION"
-    fi
+    make $MAKEFLAGS $INVOCATION
 }
 
 test_fail()
#2 lore raw
In reply to Paolo Bonzini
Quoted 2 lines · Paolo Bonzini

We are using tap-driver.pl, do not require anymore gtester to be installed to run the testsuite in docker-based tests.

Queued to pullreq/testing-logging-misc, thanks.

Quoted 24 lines
---
 tests/docker/common.rc | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
tests/docker/common.rc +1 -6
index 512202b..02cd67a 100755
@@ -53,12 +53,7 @@ check_qemu()
         INVOCATION="$@"
     fi
 
-    if command -v gtester > /dev/null 2>&1 && \
-           gtester --version > /dev/null 2>&1; then
-        make $MAKEFLAGS $INVOCATION
-    else
-        echo "No working gtester, skipping make $INVOCATION"
-    fi
+    make $MAKEFLAGS $INVOCATION
 }
 
 test_fail()
Signature · 1 line
Alex Bennée