Fix functionality test to use CMake for build

This commit is contained in:
Jonathan Wakely 2026-04-21 18:32:35 +01:00
parent c7d6b92d15
commit d494d13c1a

View File

@ -86,8 +86,9 @@ rlJournalStart
rlPhaseStartTest
# Test if architecture is supported
if [ $ARCH = "i386" -o $ARCH="x86_64" ] ; then
rlRun "dnf install -y cmake" 0 "Install CMake to build test"
# Make and make fibonacci
rlRun "pushd .${tbb_prefix}/oneTBB*/examples/test_all/fibonacci; make ${FLAGS}" 0 \
rlRun "pushd .${tbb_prefix}/oneTBB*/examples/test_all/fibonacci; cmake .; make ${FLAGS}" 0 \
"Enter fibonacci example directory and make"
# Run the fibonacci test
rlRun "./fibonacci" 0 \