From 58d6f672b940ad006cb091942d4413888a6fc738 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 14 May 2020 10:15:26 +0200 Subject: sys/targets: check that works in compilation test Without linux-libc-dev:i386 installed the test passes, but executor compilation fails because is broken. --- sys/targets/targets.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/targets/targets.go b/sys/targets/targets.go index 0bcba8a21..ee42ea3ad 100644 --- a/sys/targets/targets.go +++ b/sys/targets/targets.go @@ -554,10 +554,10 @@ func checkFlagSupported(target *Target, flag string) bool { var runningOnCI = os.Getenv("CI") != "" var useClang = os.Getenv("SYZ_CLANG") != "" -// is included by executor, so we test is as well. const simpleProg = ` #include -#include +#include // ensures that system headers are installed +#include // ensures that C++ headers are installed int main() { printf("Hello, World!\n"); } ` -- cgit mrf-deployment