summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib/rbtdeconfig_compiler/tests/Makefile.am
blob: cabfed4d3af53c358ef03a600e5aa86606f8b3c2 (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
36
37
38
39
40
check_PROGRAMS = test1 test2 test3 test4 test5

CLEANFILES = test1.rb \
             test2.rb \
             test3.rb \
             test4.rb \
             test5.rb \
             md5sums

all: $(SOURCES)

# Splitting this with backslashses produces broken Makefiles
SOURCES = test1main.rb test1.rb test2main.rb test2.rb  test3main.rb test3.rb test4main.rb test4.rb  test5main.rb test5.rb

# avoid running the below command in parallel
test1.rb: $(srcdir)/test1.kcfg ../rbtdeconfig_compiler $(srcdir)/test1.kcfgc
	../rbtdeconfig_compiler $(srcdir)/test1.kcfg $(srcdir)/test1.kcfgc

# avoid running the below command in parallel
test2.rb: $(srcdir)/test2.kcfg ../rbtdeconfig_compiler $(srcdir)/test2.kcfgc
	../rbtdeconfig_compiler $(srcdir)/test2.kcfg $(srcdir)/test2.kcfgc

# avoid running the below command in parallel
test3.rb: $(srcdir)/test3.kcfg ../rbtdeconfig_compiler $(srcdir)/test3.kcfgc
	../rbtdeconfig_compiler $(srcdir)/test3.kcfg $(srcdir)/test3.kcfgc

# avoid running the below command in parallel
test4.rb: $(srcdir)/test4.kcfg ../rbtdeconfig_compiler $(srcdir)/test4.kcfgc
	../rbtdeconfig_compiler $(srcdir)/test4.kcfg $(srcdir)/test4.kcfgc

# avoid running the below command in parallel
test5.rb: $(srcdir)/test5.kcfg ../rbtdeconfig_compiler $(srcdir)/test5.kcfgc
	../rbtdeconfig_compiler $(srcdir)/test5.kcfg $(srcdir)/test5.kcfgc

md5sums:
	$(MD5SUM) $(srcdir)/test*.ref | sed -e "s,$(srcdir)/,,; s,\.ref$$,," > md5sums

md5check: test1.rb test2.rb test3.rb test4.rb test5.rb md5sums
	$(MD5SUM) --check md5sums