Matt Wette writes:

>> Got it.  Will add fixes.  Should show up in release after 0.78.1.
>> 
>
> 0.78.2 released
>
> `make check' now works

Thanks!  Almost there...I need the attached patch.  Wondering why I need -L 
test-suite?

Also Not sure why the commenting-out of the make rule with only the
first line does not work for me.

    $ make --version
    GNU Make 4.2.1
    $ bash --version
    GNU bash, version 4.4.12(1)-release (x86_64-unknown-linux-gnu)

janneke

>From 445540556f642a6f15ffef276a8fe69801ebbb86 Mon Sep 17 00:00:00 2001
From: Jan Nieuwenhuizen <jann...@gnu.org>
Date: Fri, 12 May 2017 07:26:49 +0200
Subject: [PATCH] check: Set load-path, disable auto-compile, typo.

* test-suite/nyacc/Makefile.nyacc (TEST_ENVIRONMENT): Set load-path,
  disable auto-compile.  Fixes loading (test-suite lib).  Fixes
  attempt to write in $HOME on Guix build.
* test-suite/nyacc/lang/Makefile.nyacc (TESTS_ENVIRONMENT): Likewise.
* test-suite/nyacc/lang/c99/Makefile.nyacc (check-TESTS): Comment-out
  all lines.
---
 Makefile.in                              | 1 +
 test-suite/nyacc/Makefile.nyacc          | 2 +-
 test-suite/nyacc/lang/Makefile.nyacc     | 2 +-
 test-suite/nyacc/lang/c99/Makefile.nyacc | 4 ++--
 4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index bb3c213..5c7a366 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -31,3 +31,4 @@ check:
 	(cd test-suite/nyacc; make -f Makefile.nyacc check)
 
 # --- last line ---
+
diff --git a/test-suite/nyacc/Makefile.nyacc b/test-suite/nyacc/Makefile.nyacc
index c52b8aa..0540b11 100644
--- a/test-suite/nyacc/Makefile.nyacc
+++ b/test-suite/nyacc/Makefile.nyacc
@@ -10,7 +10,7 @@
 SUBDIRS = lang
 
 TESTS_ENVIRONMENT = \
-	guile -L `pwd`/../../module
+	guile -L `pwd`/../../module -L `pwd`/.. --no-auto-compile
 
 TESTS = \
 	lex-01.test				\
diff --git a/test-suite/nyacc/lang/Makefile.nyacc b/test-suite/nyacc/lang/Makefile.nyacc
index 0a3167b..61342ca 100644
--- a/test-suite/nyacc/lang/Makefile.nyacc
+++ b/test-suite/nyacc/lang/Makefile.nyacc
@@ -10,7 +10,7 @@
 SUBDIRS = c99
 
 TESTS_ENVIRONMENT = \
-	guile -L `pwd`/../../../module
+	guile -L `pwd`/../../../module -L `pwd`/../.. --no-auto-compile
 
 TESTS = \
 	util.test				\
diff --git a/test-suite/nyacc/lang/c99/Makefile.nyacc b/test-suite/nyacc/lang/c99/Makefile.nyacc
index d6be58e..974fe9e 100644
--- a/test-suite/nyacc/lang/c99/Makefile.nyacc
+++ b/test-suite/nyacc/lang/c99/Makefile.nyacc
@@ -27,7 +27,7 @@ check-TESTS: $(TESTS)
 		$(TESTS_ENVIRONMENT) $$test; \
 	done
 	@#for dir in $(SUBDIRS); do \
-		(cd $$dir; make -f Makefile.nyacc check-TESTS); \
-	done
+	#	(cd $$dir; make -f Makefile.nyacc check-TESTS); \
+	#done
 
 # --- last line ---
-- 
2.12.2

-- 
Jan Nieuwenhuizen <jann...@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  

Reply via email to