]> git.saurik.com Git - bison.git/commit - tests/local.at
tests: generalize the compilation macros.
authorAkim Demaille <akim@lrde.epita.fr>
Mon, 25 Jun 2012 14:37:18 +0000 (16:37 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Tue, 26 Jun 2012 11:55:49 +0000 (13:55 +0200)
commit91ce0b3a66b75bb5b66f48a5a3cf59f3be08c0a8
tree4c34f70477d4a9f7db2fdc4c6a6d17aa6afc9f9c
parent837b769659378e356f2f1ff4814e05c4e5300676
tests: generalize the compilation macros.

* tests/local.at (AT_COMPILE, AT_COMPILE_CXX): If OUTPUT ends with ".o",
then append the "natural" extension for the input file (.c or .cc).
If there is no source, pass -c.
* tests/headers.at, tests/input.at, tests/regression.at: Adjust.
tests/headers.at
tests/input.at
tests/local.at
tests/regression.at