Re: [Flex-help] flex-2.5.37 testsuite clean up on Solaris
flex is a tool for generating scanners
Brought to you by:
wlestes
|
From: Will E. <wes...@gm...> - 2012-10-31 18:46:41
|
Thanks, Hugh. It's in and I'll push it up to sourceforge after I take care of a couple of other things. It'll go in the next release. --Will On Wednesday, 31 October 2012, 4:29 pm +0000, Hugh Sasse <hg...@dm...> wrote: > On Cygwin I've tested this vanishingly small patch to do the diff -q > to cmp -s change and it passed all tests after a > autoreconf && ./configure && make && make check > > > diff -Naur flex-2.5.37.orig/tests/test-extended/Makefile.am flex-2.5.37/tests/test-extended/Makefile.am > --- flex-2.5.37.orig/tests/test-extended/Makefile.am 2012-07-21 02:18:27.000000000 +0100 > +++ flex-2.5.37/tests/test-extended/Makefile.am 2012-10-31 13:43:59.076084400 +0000 > @@ -38,7 +38,7 @@ > $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LOADLIBES) > > test: $(testname)$(EXEEXT) > - ./$(testname)$(EXEEXT) < $(srcdir)/test.input | diff -q $(srcdir)/test.input - > + ./$(testname)$(EXEEXT) < $(srcdir)/test.input | cmp -s $(srcdir)/test.input - > > .c.o: > $(CC) -c -o $@ $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) $< > diff -Naur flex-2.5.37.orig/tests/test-quotes/Makefile.am flex-2.5.37/tests/test-quotes/Makefile.am > --- flex-2.5.37.orig/tests/test-quotes/Makefile.am 2012-07-21 02:18:27.000000000 +0100 > +++ flex-2.5.37/tests/test-quotes/Makefile.am 2012-10-31 13:44:36.469284400 +0000 > @@ -40,7 +40,7 @@ > test: $(testname)$(EXEEXT) > grep TEST_XXX < $(srcdir)/scanner.l | sed 's/^ *//' > l.out > grep TEST_XXX < scanner.c | sed 's/^ *//' > c.out > - diff -q l.out c.out > + cmp -s l.out c.out > ./$(testname)$(EXEEXT) < $(srcdir)/test.input > > .c.o: > > > > Hope that helps, > Hugh -- Will Estes (wl...@us...) Flex Project Maintainer http://flex.sourceforge.net/ |