ci: Print information about binaries using "file"
This commit is contained in:
parent
f24e122d13
commit
b994a8be3c
@ -21,6 +21,13 @@ valgrind --version || true
|
|||||||
--with-valgrind="$WITH_VALGRIND" \
|
--with-valgrind="$WITH_VALGRIND" \
|
||||||
--host="$HOST" $EXTRAFLAGS
|
--host="$HOST" $EXTRAFLAGS
|
||||||
|
|
||||||
|
make -j2
|
||||||
|
|
||||||
|
# Print information about binaries so that we can see that the architecture is correct
|
||||||
|
file *tests || true
|
||||||
|
file bench_* || true
|
||||||
|
file .libs/* || true
|
||||||
|
|
||||||
if [ -n "$BUILD" ]
|
if [ -n "$BUILD" ]
|
||||||
then
|
then
|
||||||
make -j2 "$BUILD"
|
make -j2 "$BUILD"
|
||||||
@ -28,7 +35,6 @@ fi
|
|||||||
|
|
||||||
if [ "$RUN_VALGRIND" = "yes" ]
|
if [ "$RUN_VALGRIND" = "yes" ]
|
||||||
then
|
then
|
||||||
make -j2
|
|
||||||
# the `--error-exitcode` is required to make the test fail if valgrind found errors, otherwise it'll return 0 (https://www.valgrind.org/docs/manual/manual-core.html)
|
# the `--error-exitcode` is required to make the test fail if valgrind found errors, otherwise it'll return 0 (https://www.valgrind.org/docs/manual/manual-core.html)
|
||||||
valgrind --error-exitcode=42 ./tests 16
|
valgrind --error-exitcode=42 ./tests 16
|
||||||
valgrind --error-exitcode=42 ./exhaustive_tests
|
valgrind --error-exitcode=42 ./exhaustive_tests
|
||||||
@ -36,7 +42,6 @@ fi
|
|||||||
|
|
||||||
if [ -n "$QEMU_CMD" ]
|
if [ -n "$QEMU_CMD" ]
|
||||||
then
|
then
|
||||||
make -j2
|
|
||||||
$QEMU_CMD ./tests 16
|
$QEMU_CMD ./tests 16
|
||||||
$QEMU_CMD ./exhaustive_tests
|
$QEMU_CMD ./exhaustive_tests
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user