From 6114078d3fff59c2cce49dbdff01c7b8f2f238d9 Mon Sep 17 00:00:00 2001 From: nicebert <110385235+nicebert@users.noreply.github.com> Date: Fri, 2 Aug 2024 16:04:23 +0200 Subject: [PATCH] Update multi-image3 to catch failures in multi-image generation Update multi-image testing to catch if all images were actually created. Also explicitly checks for target features xnack+ and xnack-. --- test/smoke/multi-image3/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/smoke/multi-image3/Makefile b/test/smoke/multi-image3/Makefile index cb1efd081..3e7f44d6f 100644 --- a/test/smoke/multi-image3/Makefile +++ b/test/smoke/multi-image3/Makefile @@ -5,7 +5,7 @@ TESTSRC_MAIN = multi-image.c TESTSRC_AUX = TESTSRC_ALL = $(TESTSRC_MAIN) $(TESTSRC_AUX) -OMP_FLAGS = -fopenmp --offload-arch=$(AOMP_GPU)$(AOMP_TARGET_FEATURES) --offload-arch=gfx803$(AOMP_TARGET_FEATURES) --offload-arch=gfx1031$(AOMP_TARGET_FEATURES) +OMP_FLAGS = -fopenmp --offload-arch=$(AOMP_GPU)$(AOMP_TARGET_FEATURES),gfx90a:xnack+,gfx90a:xnack- CLANG = clang OMP_BIN = $(AOMP)/bin/$(CLANG) CC = $(OMP_BIN) $(VERBOSE) @@ -15,4 +15,4 @@ CC = $(OMP_BIN) $(VERBOSE) include ../Makefile.rules run: $(TESTNAME) ./$(TESTNAME) - strings $(TESTNAME) |grep -i gfx + strings $(TESTNAME) | grep $(AOMP_GPU)$(AOMP_TARGET_FEATURES) && strings $(TESTNAME) | grep gfx90a:xnack+ && strings $(TESTNAME) | grep gfx90a:xnack-