Skip to content

Commit 821232f

Browse files
author
Troy Melhase
committed
Uses config module instead of file.
1 parent 9506e55 commit 821232f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ j2py = ../bin/j2py
77
python_files := $(addsuffix .py, $(notdir $(basename $(wildcard *.java))))
88
test_targets := $(sort $(notdir $(basename $(wildcard *.java))))
99

10+
export PYTHONPATH := $(PYTHONPATH):.
11+
1012

1113
.PHONY: all clean
1214
.SILENT: %:
@@ -15,6 +17,7 @@ test_targets := $(sort $(notdir $(basename $(wildcard *.java))))
1517
all:
1618
$(MAKE) $(test_targets)
1719

20+
1821
selectors:
1922
@cd selector && make
2023

@@ -37,7 +40,7 @@ parsers:
3740

3841

3942
%.py: %.class
40-
@$(j2py) $(addsuffix .java, $(basename $@)) $@ -c configs/defaults.py -d configs
43+
@$(j2py) $(addsuffix .java, $(basename $@)) $@ -c configs.defaults -d configs
4144

4245
%: %.py
4346
@bash -c "diff -q <($(python) $(addsuffix .py, $@)) <(java -ea $@)" && echo "[PASS] $@"

0 commit comments

Comments
 (0)