summaryrefslogtreecommitdiff
path: root/lib/am/check2.am
blob: ad0a4aa360ebc806692484b173475c7077813235 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
## automake - create Makefile.in from Makefile.am
## Copyright (C) 2008, 2009, 2011 Free Software Foundation, Inc.

## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2, or (at your option)
## any later version.

## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.

## You should have received a copy of the GNU General Public License
## along with this program.  If not, see <http://www.gnu.org/licenses/>.

## From a test file to a .log and .trs file.
?GENERIC?%EXT%.log:
?!GENERIC?%OBJ%: %SOURCE%
	@p='%SOURCE%'; $(am__check_pre) %DRIVER% --test-name "$$f" \
	--log-file '%BASE%.log' --trs-file '%BASE%.trs' \
	$(am__common_driver_flags) %DRIVER_FLAGS% -- %COMPILE% "$$tst" \
	$(AM_TESTS_FD_REDIRECT)

## If no programs are built in this package, then this rule is removed
## at automake time.  Otherwise, %am__EXEEXT% expands to a configure time
## conditional, true if $(EXEEXT) is nonempty, thus this rule does not
## conflict with the previous one.
if %am__EXEEXT%
?GENERIC?%EXT%$(EXEEXT).log:
	@p='%SOURCE%'; $(am__check_pre) %DRIVER% --test-name "$$f" \
	--log-file '%BASE%.log' --trs-file '%BASE%.trs' \
	$(am__common_driver_flags) %DRIVER_FLAGS% -- %COMPILE% "$$tst" \
	$(AM_TESTS_FD_REDIRECT)
endif %am__EXEEXT%