[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make check on darwin
From: |
Denis Excoffier |
Subject: |
make check on darwin |
Date: |
Tue, 17 Sep 2013 23:46:41 +0200 |
Hello,
I'm currently on x86_64-apple-darwin12.4.0 with make-3.99.91. I use gcc-4.8.1.
I have configured with --disable-load. I had to apply the patch below
(self explanatory i think) for 'make check' to return with no error.
Moreover:
1) when configured with --disable-job-server, the tests in features/parallelism
are however all activated and 'make check' obviously fails (#7 and #10)
2) when some errors are produced, a message is printed to direct the
user to look for files ending in '.diff'; but many diff-files are actually
named .diff.X, where X is a small number
3) and more importantly, 'make check' begins to write its results on stdout
(eg features/archives......), then seems to switche to stderr for the
results of the features/archives and all the following text. This is weird.
Hope this helps.
Best regards,
Denis Excoffier.
diff -uNr make-3.99.91-original/tests/scripts/features/archives
make-3.99.91-patched/tests/scripts/features/archives
--- make-3.99.91-original/tests/scripts/features/archives 2013-09-16
06:13:27.000000000 +0200
+++ make-3.99.91-patched/tests/scripts/features/archives 2013-09-17
23:18:35.000000000 +0200
@@ -13,7 +13,7 @@
# Very simple
run_make_test('all: libxx.a(a1.o)',
- '', "ar rv libxx.a a1.o\nar: creating libxx.a\na - a1.o\n");
+ '', "ar rv libxx.a a1.o\nar: creating archive libxx.a\na -
a1.o\n");
# Multiple .o's. Add a new one to the existing library
run_make_test('all: libxx.a(a1.o a2.o)',
diff -uNr make-3.99.91-original/tests/scripts/features/default_names
make-3.99.91-patched/tests/scripts/features/default_names
--- make-3.99.91-original/tests/scripts/features/default_names 2013-09-16
06:13:27.000000000 +0200
+++ make-3.99.91-patched/tests/scripts/features/default_names 2013-09-17
23:18:35.000000000 +0200
@@ -13,7 +13,7 @@
# DOS/WIN32 platforms preserve case, but Makefile is the same file as makefile.
# Just test what we can here (avoid Makefile versus makefile test).
-if ($port_type eq 'UNIX') {
+if ($port_type eq 'UNIX_BUT_NOT_WITH_MY_FILESYSTEM') {
# Create another makefile called "makefile"
open(MAKEFILE,"> makefile");
print MAKEFILE "SECOND: ; address@hidden It chose makefile\n";
@@ -30,7 +30,7 @@
&compare_output("It chose GNUmakefile\n",&get_logfile(1));
unlink $makefile;
-if ($port_type eq 'UNIX') {
+if ($port_type eq 'UNIX_BUT_NOT_WITH_MY_FILESYSTEM') {
&run_make_with_options("","",&get_logfile);
&compare_output("It chose makefile\n",&get_logfile(1));
unlink "makefile";
- make check on darwin,
Denis Excoffier <=