mirror of
https://github.com/google/cpu_features.git
synced 2025-04-28 15:33:37 +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
|
if [[ "${QEMU_ARCH}" == "DISABLED" ]]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
RUN_CMD=""
|
||||||
if [[ -n "${QEMU_ARCH}" ]]; then
|
if [[ -n "${QEMU_ARCH}" ]]; then
|
||||||
installqemuifneeded
|
installqemuifneeded
|
||||||
QEMU="${QEMU_INSTALL}/bin/qemu-${QEMU_ARCH} ${QEMU_ARGS}"
|
RUN_CMD="${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}
|
|
||||||
fi
|
fi
|
||||||
|
for test_binary in ${BUILD_DIR}/test/*_test; do
|
||||||
|
${RUN_CMD} ${test_binary} &
|
||||||
|
done
|
||||||
|
wait -n
|
||||||
|
${RUN} ${DEMO}
|
||||||
}
|
}
|
||||||
|
|
||||||
function expand_linaro_config() {
|
function expand_linaro_config() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user