Files
s390-tools/iucvterm/test/Makefile
Michael Holzheu b627b8d8e1 Initial s390-tools-2.0.0 import
This commit is based on the s390-tools-1.39.0 version.

Changes on top of s390-tools-1.39.0:

 - Add MIT license to all source files
 - Add LICENSE file
 - Transform REAMDE to README.md (markdown)
 - Add AUTHORS.md file
 - Add CONTRIBUTING.md file
 - Move changelog from README to CHANGELOG.md file

Reviewed-by: Stefan Haberland <sth@linux.vnet.ibm.com>
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
2017-08-21 10:55:40 +02:00

41 lines
867 B
Makefile

#! /usr/bin/make -f
include ../../common.mak
ALL_CPPFLAGS += -I../include
ALL_CFLAGS += -g
PROGRAMS = test_afiucv
TEST_PROGRAMS = test_functions test_allow
TEST_PROGRAMS_NORUN = test_auditlog
test_afiucv: test_afiucv.o
test_functions: test_functions.o test_common.o ../src/functions.o
test_allow: test_allow.o test_common.o ../src/functions.o
test_auditlog: test_auditlog.o test_common.o ../src/auditlog.o \
../src/functions.o
all: $(PROGRAMS)
check: $(TEST_PROGRAMS) $(TEST_PROGRAMS_NORUN)
@for prg in $(TEST_PROGRAMS); do \
failed=0 ;\
echo ; echo "=== RUN : $$prg ===" ;\
./$$prg || failed=$$? ;\
if test x$$failed = x0; then \
echo "=== PASS: $$prg ===" ;\
else \
echo "=== FAIL: $$prg (rc=$$failed) ===" ;\
fi ;\
done
install:
clean:
-rm -f *.o $(PROGRAMS) $(TEST_PROGRAMS) $(TEST_PROGRAMS_NORUN)
.PHONY: install clean