Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Skip bison tests if bison is not available #145

Closed
wants to merge 2 commits into from

Conversation

Explorer09
Copy link
Contributor

@Explorer09 Explorer09 commented Dec 31, 2016

This pull request depends on #144
Resolves #49, except that this configure script is not tolerant on other yacc implementations (byacc, for example). If someone wants byacc for building flex and/or the testsuite, just tweak the code then.

@westes
Copy link
Owner

westes commented Jan 1, 2017

Would you put the README change on a separate pr, please. It is not related to the bison changes.

@Explorer09
Copy link
Contributor Author

Update: the tests/README change is on separate pull request now: #148

@westes
Copy link
Owner

westes commented Jan 24, 2017

There's conflicts now. Would you fix that and push the update? Go ahead and squash/fixup the history as appropriate, too.

AC_PROG_YACC already detects the bison program. We can just use it, and
make notice if [ $YACC != 'bison -y' ]

Remove unused AC_SUBST([BISON], ...).

Add AM_CONDITIONAL([HAVE_BISON], ...) so that we can skip bison tests in
testsuite.
@westes
Copy link
Owner

westes commented Jan 25, 2017

You need to add the no_bison_stub.c.

@Explorer09
Copy link
Contributor Author

Rebased and added no_bison_stub.c. (And would you please be patient and wait a bit before I say it's okay? I was tweaking the no_bison_stub.c when I discovered that it's not included in the commit just now.)

@westes
Copy link
Owner

westes commented Jan 25, 2017 via email

@Explorer09
Copy link
Contributor Author

It's ready to pull now.

@westes
Copy link
Owner

westes commented Jan 25, 2017

Thanks. This is on master and will be included in the next release.

@westes westes closed this Jan 25, 2017
@Explorer09 Explorer09 deleted the tests-fix-2 branch January 26, 2017 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants