2018-05-19 18:48:10 +03:00
|
|
|
KOFU=../kofu
|
|
|
|
|
2019-12-08 04:32:07 +03:00
|
|
|
xfs_tests := $(addsuffix .out, $(basename $(wildcard *\#xfs_*.t)))
|
|
|
|
s05k_tests := $(addsuffix .out, $(basename $(wildcard *\#s05k_*.t)))
|
|
|
|
s4k_tests := $(addsuffix .out, $(basename $(wildcard *\#s4k_*.t)))
|
|
|
|
f30_tests := $(addsuffix .out, $(basename $(wildcard *\#f30_*.t)))
|
|
|
|
f70_tests := $(addsuffix .out, $(basename $(wildcard *\#f70_*.t)))
|
|
|
|
f70s0_tests := $(addsuffix .out, $(basename $(wildcard *\#f70s0_*.t)))
|
|
|
|
f70s1_tests := $(addsuffix .out, $(basename $(wildcard *\#f70s1_*.t)))
|
|
|
|
f70s5_tests := $(addsuffix .out, $(basename $(wildcard *\#f70s5_*.t)))
|
|
|
|
lookup_tests := $(addsuffix .out, $(basename $(wildcard *\#lookup_*.t)))
|
|
|
|
bug_tests := $(addsuffix .out, $(basename $(wildcard *\#bug_*.t)))
|
|
|
|
xattr_tests := $(addsuffix .out, $(basename $(wildcard *\#xattr_*.t)))
|
|
|
|
unicode_tests := $(addsuffix .out, $(basename $(wildcard *\#unicode_*.t)))
|
2020-01-28 01:54:57 +03:00
|
|
|
v5_tests := $(addsuffix .out, $(basename $(wildcard *\#v5_*.t)))
|
2018-05-19 18:48:10 +03:00
|
|
|
|
2020-01-28 01:54:57 +03:00
|
|
|
all: xfs s05k s4k f30 f70 f70s0 f70s1 f70s5 lookup bug xattr unicode v5
|
2019-10-27 03:54:38 +03:00
|
|
|
@echo all tests passed
|
2018-05-19 18:48:10 +03:00
|
|
|
|
2019-11-12 04:22:19 +03:00
|
|
|
xfs: $(xfs_tests)
|
|
|
|
s05k: $(s05k_tests)
|
|
|
|
s4k: $(s4k_tests)
|
2019-10-25 04:48:13 +03:00
|
|
|
f30: $(f30_tests)
|
2019-11-12 04:22:19 +03:00
|
|
|
f70: $(f70_tests)
|
2019-10-28 06:10:38 +03:00
|
|
|
f70s0: $(f70s0_tests)
|
|
|
|
f70s1: $(f70s1_tests)
|
|
|
|
f70s5: $(f70s5_tests)
|
2019-11-12 04:22:19 +03:00
|
|
|
lookup: $(lookup_tests)
|
|
|
|
bug: $(bug_tests)
|
2019-12-08 04:32:07 +03:00
|
|
|
xattr: $(xattr_tests)
|
|
|
|
unicode: $(unicode_tests)
|
2020-01-28 01:54:57 +03:00
|
|
|
v5: $(v5_tests)
|
2019-10-09 02:35:47 +03:00
|
|
|
|
2019-10-22 05:24:44 +03:00
|
|
|
%.out: %.ref %.t
|
|
|
|
$(KOFU) < $(word 2, $^) > $@
|
|
|
|
cmp $@ $<
|
2019-10-31 00:54:12 +03:00
|
|
|
|