diff options
author | Mark Wielaard <mjw@redhat.com> | 2014-01-16 13:48:24 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2014-01-20 11:11:16 +0100 |
commit | c80375d5d61f44795f9650bdde08dab4c064c2b5 (patch) | |
tree | f3510e6ed8183c03a22bc430e719d2e4c0089880 /tests/test-subr.sh | |
parent | d7cffa77ae9eb28a682e436251ab79e86b4e4f64 (diff) | |
download | elfutils-c80375d5d61f44795f9650bdde08dab4c064c2b5.tar.gz |
tests: Reduce the total number of self-test files and add ET_REL files.
Some self tests would run for a really long time (especially under valgrind)
because we included all libebl backends in the list (there are 12 backends).
Now only test two explicitly. Also there were no ET_REL files in the
self test file list. So add two ET_REL files. The total number of self test
files is now 12.
run-nm-self.sh would run 4 * 3 * 3 * 22 = 792 tests (on all self test files).
Reduce the number of different files to test to 3 (one ET_EXEC, one ET_DYN
and one ET_REL file). Reducing the number of test runs to 99.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'tests/test-subr.sh')
-rw-r--r-- | tests/test-subr.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/test-subr.sh b/tests/test-subr.sh index b5ab1059..5e796b4d 100644 --- a/tests/test-subr.sh +++ b/tests/test-subr.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2005-2013 Red Hat, Inc. +# Copyright (C) 2005-2014 Red Hat, Inc. # This file is part of elfutils. # # This file is free software; you can redistribute it and/or modify @@ -118,9 +118,12 @@ program_transform() self_test_files=`echo ${abs_top_builddir}/src/addr2line \ ${abs_top_builddir}/src/elfcmp ${abs_top_builddir}/src/elflint \ ${abs_top_builddir}/src/nm ${abs_top_builddir}/src/objdump \ -${abs_top_builddir}/src/readelf ${abs_top_builddir}/src/size \ -${abs_top_builddir}/src/strip ${abs_top_builddir}/libelf/libelf.so \ -${abs_top_builddir}/libdw/libdw.so ${abs_top_builddir}/backends/libebl_*.so` +${abs_top_builddir}/src/readelf \ +${abs_top_builddir}/src/size.o ${abs_top_builddir}/src/strip.o \ +${abs_top_builddir}/libelf/libelf.so \ +${abs_top_builddir}/libdw/libdw.so \ +${abs_top_builddir}/backends/libebl_i386.so \ +${abs_top_builddir}/backends/libebl_x86_64.so` # Provide a command to run on all self-test files with testrun. testrun_on_self() |