Skip to content

Commit bf9c81e

Browse files
Run valgrind constant-time tests with locally generated ./libtool
1 parent e25f221 commit bf9c81e

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

.travis.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ addons:
55
packages:
66
- libgmp-dev
77
- valgrind
8-
- libtool-bin
98
compiler:
109
- clang
1110
- gcc
@@ -41,7 +40,6 @@ matrix:
4140
- gcc-multilib
4241
- libgmp-dev:i386
4342
- valgrind
44-
- libtool-bin
4543
- libc6-dbg:i386
4644
- compiler: clang
4745
env: HOST=i686-linux-gnu
@@ -50,7 +48,6 @@ matrix:
5048
packages:
5149
- gcc-multilib
5250
- valgrind
53-
- libtool-bin
5451
- libc6-dbg:i386
5552
- compiler: gcc
5653
env: HOST=i686-linux-gnu ENDOMORPHISM=yes
@@ -59,7 +56,6 @@ matrix:
5956
packages:
6057
- gcc-multilib
6158
- valgrind
62-
- libtool-bin
6359
- libc6-dbg:i386
6460
- compiler: gcc
6561
env: HOST=i686-linux-gnu
@@ -69,7 +65,6 @@ matrix:
6965
- gcc-multilib
7066
- libgmp-dev:i386
7167
- valgrind
72-
- libtool-bin
7368
- libc6-dbg:i386
7469
- compiler: gcc
7570
env:

src/valgrind_ctime_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ int main(void) {
2727

2828
if (!RUNNING_ON_VALGRIND) {
2929
fprintf(stderr, "This test can only usefully be run inside valgrind.\n");
30-
fprintf(stderr, "Usage: libtool --mode=execute valgrind ./valgrind_ctime_test\n");
30+
fprintf(stderr, "Usage: ./libtool --mode=execute valgrind ./valgrind_ctime_test\n");
3131
exit(99); /* indicates "ERROR" in make check */
3232
}
3333

valgrind_ctime_test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/sh
22

3-
libtool --mode=execute valgrind --error-exitcode=1 ./valgrind_ctime_test "$@"
3+
./libtool --mode=execute valgrind --error-exitcode=1 ./valgrind_ctime_test "$@"
44

55
case $? in
6-
127) # "command not found", i.e., either libtool or valgrind not installed
6+
127) # "command not found", i.e., valgrind not installed
77
exit 77 # map this to "SKIP" (=77) for make check
88
;;
99
*)

0 commit comments

Comments
 (0)