mirror of
https://github.com/intel/isa-l.git
synced 2025-10-28 19:51:56 +01:00
tools: allow testing on multiple architectures with Intel SDE
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
This commit is contained in:
committed by
Marcel Cornu
parent
2ca781df19
commit
df073be348
@@ -201,6 +201,24 @@ test_end "noarch_build_random" $?
|
||||
$MAKE -f Makefile.unx arch=noarch clean
|
||||
msg+=$'Noarch build: Pass\n'
|
||||
|
||||
# Test other implementations with SDE
|
||||
if [ $(uname -m) == "x86_64" ] && command -V sde64 >/dev/null 2>&1; then
|
||||
# Compile tests
|
||||
$MAKE -f Makefile.unx -j $cpus checks
|
||||
# Loop through architectures
|
||||
while [ $# -gt 0 ]
|
||||
do
|
||||
test_start "SDE test on $1 architecture"
|
||||
time sde64 -$1 -- $MAKE -f Makefile.unx -j $cpus D="TEST_SEED=$S" check
|
||||
test_start "SDE test on $1 architecture" $?
|
||||
# Drop architecture from list, to test the next one
|
||||
shift;
|
||||
done
|
||||
msg+=$'Running tests with SDE: Pass\n'
|
||||
else
|
||||
msg+=$'Running tests with SDE: Skip\n'
|
||||
fi
|
||||
|
||||
# Try mingw build
|
||||
if [ $(uname -m) == "x86_64" ] && command -V x86_64-w64-mingw32-gcc >/dev/null 2>&1; then
|
||||
test_start "mingw_build"
|
||||
|
||||
Reference in New Issue
Block a user