AT_FULL_COMPILE.

* tests/local.at (AT_FULL_COMPILE): New.
	* tests/actions.at, tests/calc.at, tests/regression.at: Use it.
This commit is contained in:
Akim Demaille
2008-08-25 13:43:00 +02:00
parent 1a7a65f9d5
commit 7ca2266adc
5 changed files with 24 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
# Executing Actions. -*- Autotest -*-
# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software
# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software
# Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
@@ -367,11 +367,7 @@ main (int argc, const char *argv[])
}
]])
AT_LALR1_CC_IF(
[AT_BISON_CHECK([-o input.cc input.y])
AT_COMPILE_CXX([input])],
[AT_BISON_CHECK([-o input.c input.y])
AT_COMPILE([input])])
AT_FULL_COMPILE([input])
# Check the location of "empty"