X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=util%2Fselftest.pl;h=83fd9f87b94a32e1e30954025d609fa6944c0131;hb=4b49bf6a93d1958513aff6a1254194fb581500cb;hp=775f1712e909b7ff1abc7fe96f317866aa943429;hpb=9e2c0f41d7deb0d80be53eed75bfe79f24467ec3;p=oweals%2Fopenssl.git diff --git a/util/selftest.pl b/util/selftest.pl index 775f1712e9..83fd9f87b9 100644 --- a/util/selftest.pl +++ b/util/selftest.pl @@ -50,6 +50,7 @@ if (open(IN,"&1`; $cversion=`$cc -V 2>&1` if $cversion =~ "usage"; +$cversion=`$cc -V |head -1` if $cversion =~ "Error"; $cversion=`$cc --version` if $cversion eq ""; $cversion =~ s/Reading specs.*\n//; $cversion =~ s/usage.*\n//; @@ -132,19 +133,13 @@ if (system("make 2>&1 | tee make.log") > 255) { $_=$options; s/no-asm//; s/no-shared//; +s/no-krb5//; if (/no-/) { print OUT "Test skipped.\n"; goto err; } -if (`echo 4+1 | bc` != 5) -{ - print OUT "Can't run bc! Test skipped.\n"; - print OUT $not_our_fault; - goto err; -} - print "Running make test...\n"; if (system("make test 2>&1 | tee maketest.log") > 255) {