Skip to content

Commit 8028a0f

Browse files
committed
interpreter: fix custom tests target
Now that there are not only directories in test/custom, we need a better listing command
1 parent fbbbeb6 commit 8028a0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interpreter/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ quiettest/%: $(NAME)
9797
# Custom test suite
9898

9999
CUSTOMTESTDIR = ../test/custom
100-
CUSTOMTESTDIRS = $(shell cd $(CUSTOMTESTDIR); ls -d [a-z]*)
100+
CUSTOMTESTDIRS = $(shell cd $(CUSTOMTESTDIR); find . -maxdepth 1 -type d -not -path "." -printf "%f ")
101101
CUSTOMTESTFILES = $(shell cd $(CUSTOMTESTDIR); ls [a-z]*/*.wast)
102102
CUSTOMTESTS = $(CUSTOMTESTFILES:%.wast=%)
103103
CUSTOMOPTS = -c custom $(CUSTOMTESTDIRS:%=-c %)

0 commit comments

Comments
 (0)