File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 174174
175175for arch in $ARCHS ; do
176176 unset HAVE_ASAN
177+ HAVE_UBSAN=1
178+ HAVE_OPENMP=1
177179 case $arch in
178180 i686)
179181 RUN=" $RUN_I686 "
@@ -201,6 +203,11 @@ for arch in $ARCHS; do
201203 COPY=" $COPY_AARCH64 "
202204 NATIVE=" $NATIVE_AARCH64 "
203205 ;;
206+ arm64ec)
207+ unset HAVE_UBSAN
208+ unset HAVE_OPENMP
209+ unset RUN
210+ ;;
204211 esac
205212
206213 TARGET=all
@@ -219,8 +226,8 @@ for arch in $ARCHS; do
219226 [ -z " $CLEAN " ] || rm -rf $TEST_DIR
220227 mkdir -p $TEST_DIR
221228 cd $TEST_DIR
222- $MAKE -f ../Makefile ARCH=$arch HAVE_UWP=$HAVE_UWP HAVE_CFGUARD=$HAVE_CFGUARD HAVE_ASAN=$HAVE_ASAN NATIVE=$NATIVE RUNTIMES_SRC=$PREFIX /$arch -w64-mingw32/bin clean
223- $MAKE -f ../Makefile ARCH=$arch HAVE_UWP=$HAVE_UWP HAVE_CFGUARD=$HAVE_CFGUARD HAVE_ASAN=$HAVE_ASAN NATIVE=$NATIVE RUNTIMES_SRC=$PREFIX /$arch -w64-mingw32/bin RUN=" $RUN " $COPYARG $MAKEOPTS -j$CORES $TARGET
229+ $MAKE -f ../Makefile ARCH=$arch HAVE_UWP=$HAVE_UWP HAVE_CFGUARD=$HAVE_CFGUARD HAVE_ASAN=$HAVE_ASAN HAVE_UBSAN= $HAVE_UBSAN HAVE_OPENMP= $HAVE_OPENMP NATIVE=$NATIVE RUNTIMES_SRC=$PREFIX /$arch -w64-mingw32/bin clean
230+ $MAKE -f ../Makefile ARCH=$arch HAVE_UWP=$HAVE_UWP HAVE_CFGUARD=$HAVE_CFGUARD HAVE_ASAN=$HAVE_ASAN HAVE_UBSAN= $HAVE_UBSAN HAVE_OPENMP= $HAVE_OPENMP NATIVE=$NATIVE RUNTIMES_SRC=$PREFIX /$arch -w64-mingw32/bin RUN=" $RUN " $COPYARG $MAKEOPTS -j$CORES $TARGET
224231 cd ..
225232done
226233echo All tests succeeded
Original file line number Diff line number Diff line change @@ -80,7 +80,9 @@ TESTS_FORTIFY = bufferoverflow crt-test
8080ifneq ($(HAVE_ASAN ) ,)
8181 TESTS_ASAN = stacksmash
8282endif
83- TESTS_UBSAN = ubsan
83+ ifneq ($(HAVE_UBSAN ) ,)
84+ TESTS_UBSAN = ubsan
85+ endif
8486ifneq ($(HAVE_OPENMP ) ,)
8587 TESTS_OMP = hello-omp
8688endif
You can’t perform that action at this time.
0 commit comments