diff options
Diffstat (limited to 'src/lib/libcrypto/util/selftest.pl')
-rw-r--r-- | src/lib/libcrypto/util/selftest.pl | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/lib/libcrypto/util/selftest.pl b/src/lib/libcrypto/util/selftest.pl index eb50d52ff8..276b81183d 100644 --- a/src/lib/libcrypto/util/selftest.pl +++ b/src/lib/libcrypto/util/selftest.pl | |||
@@ -50,6 +50,7 @@ if (open(IN,"<Makefile.ssl")) { | |||
50 | 50 | ||
51 | $cversion=`$cc -v 2>&1`; | 51 | $cversion=`$cc -v 2>&1`; |
52 | $cversion=`$cc -V 2>&1` if $cversion =~ "usage"; | 52 | $cversion=`$cc -V 2>&1` if $cversion =~ "usage"; |
53 | $cversion=`$cc -V |head -1` if $cversion =~ "Error"; | ||
53 | $cversion=`$cc --version` if $cversion eq ""; | 54 | $cversion=`$cc --version` if $cversion eq ""; |
54 | $cversion =~ s/Reading specs.*\n//; | 55 | $cversion =~ s/Reading specs.*\n//; |
55 | $cversion =~ s/usage.*\n//; | 56 | $cversion =~ s/usage.*\n//; |
@@ -57,7 +58,7 @@ chomp $cversion; | |||
57 | 58 | ||
58 | if (open(IN,"<CHANGES")) { | 59 | if (open(IN,"<CHANGES")) { |
59 | while(<IN>) { | 60 | while(<IN>) { |
60 | if (/\*\) (.{0,55})/) { | 61 | if (/\*\) (.{0,55})/ && !/applies to/) { |
61 | $last=$1; | 62 | $last=$1; |
62 | last; | 63 | last; |
63 | } | 64 | } |
@@ -131,19 +132,14 @@ if (system("make 2>&1 | tee make.log") > 255) { | |||
131 | 132 | ||
132 | $_=$options; | 133 | $_=$options; |
133 | s/no-asm//; | 134 | s/no-asm//; |
135 | s/no-shared//; | ||
136 | s/no-krb5//; | ||
134 | if (/no-/) | 137 | if (/no-/) |
135 | { | 138 | { |
136 | print OUT "Test skipped.\n"; | 139 | print OUT "Test skipped.\n"; |
137 | goto err; | 140 | goto err; |
138 | } | 141 | } |
139 | 142 | ||
140 | if (`echo 4+1 | bc` != 5) | ||
141 | { | ||
142 | print OUT "Can't run bc! Test skipped.\n"; | ||
143 | print OUT $not_our_fault; | ||
144 | goto err; | ||
145 | } | ||
146 | |||
147 | print "Running make test...\n"; | 143 | print "Running make test...\n"; |
148 | if (system("make test 2>&1 | tee maketest.log") > 255) | 144 | if (system("make test 2>&1 | tee maketest.log") > 255) |
149 | { | 145 | { |