]> git.ipfire.org Git - thirdparty/elfutils.git/commit
tests: Split run-copymany-sections.sh into separate tests
authorMark Wielaard <mark@klomp.org>
Sat, 17 Jun 2023 12:03:36 +0000 (14:03 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 17 Jun 2023 12:03:36 +0000 (14:03 +0200)
commit4fac1627c2c690070d9a79981c57eddf848178e6
tree4827d84de99aadffa058894ba2944e3121edf8fa
parent127e3831c169851e796496582213a94965337696
tests: Split run-copymany-sections.sh into separate tests

This test can take a very long time under valgrind (on s390x).
Split it into four tests for big/little endian, 32/64 bit.
That way the tests can run in parallel and each individual
test produces a result (so the buildbot won't time out).

* tests/run-copymany-sections.sh: Delete and move
generic part into...
* tests/test-copymany-subr.sh: ... here.
* tests/run-copymany-be32.sh: New big endian 32 bit tests.
* tests/run-copymany-be64.sh: New big endian 64 bit tests.
* tests/run-copymany-le32.sh: New little endian 32 bit tests.
* tests/run-copymany-le64.sh: New little endian 64 bit tests.
* tests/Makefile.am (TESTS): Remove run-copymany-sections.sh,
add run-copymany-be32.sh, run-copymany-le32.sh,
run-copymany-be64.sh and run-copymany-le64.sh.
(EXTRA_DIST): Remove run-copymany-sections.sh. Add
test-copymany-subr.sh, run-copymany-be32.sh,
run-copymany-le32.sh, run-copymany-be64.sh and
run-copymany-le64.sh.

Signed-off-by: Mark Wielaard <mark@klomp.org>
tests/Makefile.am
tests/run-copymany-be32.sh [new file with mode: 0755]
tests/run-copymany-be64.sh [new file with mode: 0755]
tests/run-copymany-le32.sh [new file with mode: 0755]
tests/run-copymany-le64.sh [new file with mode: 0755]
tests/test-copymany-subr.sh [moved from tests/run-copymany-sections.sh with 98% similarity]