Skip to content

Commit b63c08d

Browse files
asarhaddonTurboGit
authored andcommitted
Pass explicit ADA_PROJECT_PATH TP_XMLADA to tests.
Else the installed version is used.
1 parent f7cfa9b commit b63c08d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

regtests/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ build:
2626
--subdirs=$(SDIR)/$(DEFAULT_LIBRARY_TYPE) -Pregtests
2727

2828
test: build
29-
PRJ_BUILD="$(PRJ_BUILD)" PATH=.:${PATH} ./testsuite.py --jobs=4
29+
ADA_PROJECT_PATH="$(abspath $(CURDIR)/..)" \
30+
PATH=.:${PATH} \
31+
$(foreach v,PRJ_BUILD TARGET TP_XMLADA,$(v)="$($(v))") \
32+
./testsuite.py --jobs=4
3033

3134
clean:
3235
-$(GPRCLEAN) -XLIBRARY_TYPE=$(DEFAULT_LIBRARY_TYPE) \

0 commit comments

Comments
 (0)