CI: vtest: Rely on VTest2 to run regression tests
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 27 May 2025 12:32:34 +0000 (14:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 27 May 2025 13:21:38 +0000 (15:21 +0200)
VTest2 (https://github.com/vtest/VTest2) was released and is a remplacement
for VTest. VTest was archived. So let's use the new version now.

If this commit is backported, the 2 following commits must also be
backported:

 * 2808e3577 ("REGTESTS: Explicitly allow failing shell commands in some scripts")
 * 82c291124 ("REGTESTS: Make the script testing conditional set-var compatible with Vtest2")

(cherry picked from commit 6a18d28ba20439a94ec38e6670e1b7b2a864bde8)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 1e863408430801b9697737b08d30dc8ae682ca3f)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>

reg-tests/README
scripts/build-vtest.sh

index ef721fd..e77d0cc 100644 (file)
@@ -14,7 +14,7 @@ See also: doc/regression-testing.txt
 
 * vtest compilation *
 
-    $ git clone https://github.com/vtest/VTest
+    $ git clone https://github.com/vtest/VTest2
 
     $ cd VTest
 
index 9ae4306..3da4276 100755 (executable)
@@ -2,7 +2,7 @@
 
 set -eux
 
-curl -fsSL https://github.com/vtest/VTest/archive/master.tar.gz -o VTest.tar.gz
+curl -fsSL https://github.com/vtest/VTest2/archive/main.tar.gz  -o VTest.tar.gz
 mkdir ../vtest
 tar xvf VTest.tar.gz -C ../vtest --strip-components=1
 # Special flags due to: https://github.com/vtest/VTest/issues/12