tests: Only run g_error_new_valist() programmer error test on Linux

On FreeBSD it always crashes due to the platform’s `vasprintf()`
implementation being less forgiving than Linux’s. That’s fine.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
18 jobs for wip/pwithnall/error-tests-nonliteral in 20 minutes and 42 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Style Check
passed #1074083
check-todos

00:01:03

failed #1074082
allowed to fail
style-check-diff

00:01:03

 
  Build
passed #1074086
cross-android_api21_arm64

00:01:00

passed #1074087
cross-android_api28_arm64

00:01:04

passed #1074088
cross-mingw64

00:01:22

passed #1074085
debian-stable-x86_64

00:01:45

passed #1074084
fedora-x86_64

00:08:08

passed #1074091
freebsd-11
freebsd-11-x86_64

00:06:47

passed #1074092
freebsd-12
freebsd-12-x86_64

00:06:39

passed #1074093
macos
macos

00:04:41

passed #1074089
win32-ps
msys2-mingw32

00:11:28

passed #1074120
win32-ps
vs2017-x64

00:08:16

failed #1074095
win32-ps
vs2017-x64

00:00:08

failed #1074117
win32-ps
vs2017-x64

00:00:25

failed #1074090
win32-ps
vs2017-x64

00:00:25

failed #1074118
win32-ps
vs2017-x64

00:00:07

failed #1074119
win32-ps
vs2017-x64

00:00:08

 
  Coverage
passed #1074094
coverage

00:00:55

76.1%
 
Name Stage Failure
failed
style-check-diff Style Check
 #else  /* if !__linux__ */
g_test_skip ("g_error_new_valist() programmer error handling is only relevant on Linux");
-#endif /* !__linux__ */
+#endif /* !__linux__ */
}

static void
Cleaning up file based variables
ERROR: Job failed: exit code 1