aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor.cc
diff options
context:
space:
mode:
authorAlexander Egorenkov <eaibmz@gmail.com>2024-06-12 12:56:55 +0200
committerAleksandr Nogikh <nogikh@google.com>2024-06-13 13:03:06 +0000
commitaf14338446028bc58d040a678f63772e9c456e74 (patch)
treeae1b4550fc2783b9b8933e5d05615ec4803f729a /executor/executor.cc
parent2a27d56f53253786439ff9ae7711fd75abd9bc6e (diff)
sys/targets: fix BuildOS initialization for TestOS
Move the initialization of the target's BuildOS into initTarget() function for TestOS because a correct value of BuildOS is required not to falsely spoil native compiler binaries for TestOS and by that prevent TestOS unit test from compiling. $ go test -v -count=1 -run=TestCover/32 ./pkg/runtest/ === RUN TestCover === PAUSE TestCover === CONT TestCover === RUN TestCover/32 === PAUSE TestCover/32 === CONT TestCover/32 build.go:39: failed to build executor: failed to build program: compiler invocation: cant-build-test-on-linux --- FAIL: TestCover (0.21s) --- FAIL: TestCover/32 (0.00s) FAIL FAIL github.com/google/syzkaller/pkg/runtest 0.325s FAIL Signed-off-by: Alexander Egorenkov <eaibmz@gmail.com>
Diffstat (limited to 'executor/executor.cc')
0 files changed, 0 insertions, 0 deletions