glsl/test: Don't run whitespace tests in parallel
authorDaniel Stone <daniels@collabora.com>
Tue, 11 Aug 2020 11:13:17 +0000 (12:13 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Aug 2020 17:44:26 +0000 (17:44 +0000)
For some unfathomable reason, three out of these four tests often time
out when running within CI. On the assumption that there is some
parallelisation badness happening rather than the non-UNIX tests
entering infinite loops, try just marking them as serial-only.

This should have a negligible impact on runtime since they are quick to
execute.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6301>

src/compiler/glsl/glcpp/meson.build

index bc4eda26a763bcce35afb2b55c67244792e8b69e..bc892604ff0cfc68bbd9fa5c54722b6d0687c665 100644 (file)
@@ -85,6 +85,13 @@ if with_any_opengl and with_tests and host_machine.system() != 'windows'
     modes += ['valgrind']
   endif
 
     modes += ['valgrind']
   endif
 
+  # For some unfathomable reason, three out of these four tests often time out
+  # when running within CI. On the assumption that there is some
+  # parallelisation badness happening rather than the non-UNIX tests entering
+  # infinite loops, try just marking them as serial-only.
+  #
+  # This should have a negligible impact on runtime since they are quick to
+  # execute.
   foreach m : modes
     test(
       'glcpp test (@0@)'.format(m),
   foreach m : modes
     test(
       'glcpp test (@0@)'.format(m),
@@ -96,6 +103,7 @@ if with_any_opengl and with_tests and host_machine.system() != 'windows'
       ],
       suite : ['compiler', 'glcpp'],
       timeout: 60,
       ],
       suite : ['compiler', 'glcpp'],
       timeout: 60,
+      is_parallel: false,
     )
   endforeach
 endif
     )
   endforeach
 endif