]> git.eshelyaron.com Git - emacs.git/commitdiff
gitlab-ci.yml adaptions
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 20 Apr 2024 15:49:28 +0000 (17:49 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 22 Apr 2024 18:36:00 +0000 (20:36 +0200)
* test/infra/gitlab-ci.yml (test-filenotify-gio, test-eglot):
Add TEST_HOME.
(test-tree-sitter): Extend SELECTOR.

(cherry picked from commit 21e33567fabdc1310005ff6f96684be514527e8d)

test/infra/gitlab-ci.yml

index 4c44ba6c55c9e6fa1138a4f65f1c21581d5fffbf..d262218e27624d2b949cc1b7bd118913b8014bf1 100644 (file)
@@ -254,7 +254,10 @@ test-filenotify-gio:
   variables:
     target: emacs-filenotify-gio
     # This is needed in order to get a JUnit test report.
-    make_params: '-k -C test check-expensive LOGFILES="lisp/autorevert-tests.log lisp/filenotify-tests.log"'
+    make_params: >-
+      '-k -C test check-expensive
+        TEST_HOME=/root
+        LOGFILES="lisp/autorevert-tests.log lisp/filenotify-tests.log"'
 
 build-image-eglot:
   stage: platform-images
@@ -271,7 +274,9 @@ test-eglot:
   variables:
     target: emacs-eglot
     # This is needed in order to get a JUnit test report.
-    make_params: '-k -C test check-expensive LOGFILES="lisp/progmodes/eglot-tests.log"'
+    make_params: >-
+      '-k -C test check-expensive
+        TEST_HOME=/root LOGFILES="lisp/progmodes/eglot-tests.log"'
 
 build-image-tree-sitter:
   stage: platform-images
@@ -287,8 +292,12 @@ test-tree-sitter:
       optional: true
   variables:
     target: emacs-tree-sitter
+    selector: >-
+      \(and\ \$\{SELECTOR_EXPENSIVE\}\ \(or\ \\\"^treesit\\\"\ \\\"-ts-\\\"\)\)
     # This is needed in order to get a JUnit test report.
-    make_params: '-k -C test SELECTOR=\(and\ \$\{SELECTOR_EXPENSIVE\}\ \\\"-ts-\\\"\) TEST_HOME=/root LOGFILES="$tree_sitter_files"'
+    make_params: >-
+      '-k -C test check SELECTOR=$selector
+        TEST_HOME=/root LOGFILES="$tree_sitter_files"'
 
 build-image-gnustep:
   stage: platform-images