glibc-y2038-tests: do not run tests using 32 bit time APIs

I'm not sure why this was included and enabled to begin with: the tests
predictably mass-fail if system time is set to after y2038.

(From OE-Core rev: 3d04849c741baeddd0677a18a468603b7112139d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c9c7ebd6e447bce19803253afd881854f686b5f6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Alexander Kanavin
2024-01-03 12:52:44 +01:00
committed by Steve Sakoman
parent 89b80f507f
commit e513d20afd

View File

@@ -22,12 +22,12 @@ tst_time64=$(ls -r ${PWD}/tests/glibc-ptest/*-time64)
# related
tst_time_tmp=$(sed -e "s/-time64$//" <<< ${tst_time64})
# Run tests supporting only 32 bit time
for i in ${tst_time_tmp}
do
$i >/dev/null 2>&1
output
done
# Do not run tests supporting only 32 bit time
#for i in ${tst_time_tmp}
#do
# $i >/dev/null 2>&1
# output
#done
# Run tests supporting only 64 bit time
for i in ${tst_time64}