mirror of
https://github.com/google/cpu_features.git
synced 2025-04-27 15:12:30 +02:00
Fix running tests
This commit is contained in:
parent
d724ac04fc
commit
1ee19cd683
@ -97,18 +97,16 @@ function integrate() {
|
||||
if [[ "${QEMU_ARCH}" == "DISABLED" ]]; then
|
||||
return
|
||||
fi
|
||||
RUN_CMD=""
|
||||
if [[ -n "${QEMU_ARCH}" ]]; then
|
||||
installqemuifneeded
|
||||
QEMU="${QEMU_INSTALL}/bin/qemu-${QEMU_ARCH} ${QEMU_ARGS}"
|
||||
for test_binary in ${BUILD_DIR}/test/*_test; do
|
||||
${QEMU} ${test_binary}
|
||||
done
|
||||
${QEMU} ${DEMO}
|
||||
else
|
||||
export CTEST_OUTPUT_ON_FAILURE=1
|
||||
cmake --build "${BUILD_DIR}" ${CMAKE_TEST_ARGS}
|
||||
${DEMO}
|
||||
RUN_CMD="${QEMU_INSTALL}/bin/qemu-${QEMU_ARCH} ${QEMU_ARGS}"
|
||||
fi
|
||||
for test_binary in ${BUILD_DIR}/test/*_test; do
|
||||
${RUN_CMD} ${test_binary} &
|
||||
done
|
||||
wait -n
|
||||
${RUN} ${DEMO}
|
||||
}
|
||||
|
||||
function expand_linaro_config() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user