From 2aa76ee14a1adecf2ff51ac45ed3df73055388e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 29 Sep 2013 12:44:25 +0200 Subject: gnu: flex: Use Bison 2.7 for tests. * gnu/packages/bison.scm (bison): Move FLEX to 'inputs', and remove the hack that turned off its test suite. * gnu/packages/flex.scm (flex): Add 'bison-for-tests' in 'inputs', and use that to run the tests. --- gnu/packages/bison.scm | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'gnu/packages/bison.scm') diff --git a/gnu/packages/bison.scm b/gnu/packages/bison.scm index eafce34b52..2d2209c4ff 100644 --- a/gnu/packages/bison.scm +++ b/gnu/packages/bison.scm @@ -40,17 +40,8 @@ (base32 "1j14fqgi9wzqgsy4fhkcdrv4hv6rrvhvn84axs520w9b022mbb79")))) (build-system gnu-build-system) - (native-inputs `(("perl" ,perl) - - ;; We need Flex for the test suite, and Flex needs Bison. - ;; To break the cycle, we remove Bison from the inputs of - ;; Flex, and disable Flex's test suite, since it requires - ;; Bison. - ("flex" ,(package (inherit flex) - (arguments '(#:tests? #f)) - (inputs - (alist-delete "bison" - (package-inputs flex))))))) + (native-inputs `(("perl" ,perl))) + (inputs `(("flex" ,flex))) (propagated-inputs `(("m4" ,m4))) (home-page "http://www.gnu.org/software/bison/") (synopsis "Parser generator") -- cgit v1.2.3