Skip to content

Commit

Permalink
Усовершенствования автотестов (#7)
Browse files Browse the repository at this point in the history
— Вывод дампа при ошибке в автотесте с профилем Refal5.
— Возможность дополнительной параметризации автотестов.
  • Loading branch information
Mazdaywik committed May 11, 2016
1 parent 50b4d03 commit 7c7b305
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Compiler/.Config/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ sprofile-SR = stable-mrefal-SR
sprofile-CPPSR = stable-mrefal-CPPSR
sprofile-C++/SR = stable-mrefal-CPPSR

RUNTEST-R5 = refgo $(1)
RUNTEST-R5T = refgo $(1)
RUNTEST-R5 = echo Y | refgo $(1)
RUNTEST-R5T = echo Y | refgo $(1)
RUNTEST-SR = ./$(strip $(1))
RUNTEST-CPPSR = ./$(strip $(1))
RUNTEST-C++/SR = ./$(strip $(1))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Compiler/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ check-s:
$(call CHECKPARAM, mode)
$(comp_tr) $(mode_tr) $(xlinx_tr) \
+cfg:.Config/config-work.cfg +MP:. +be:$(profile) \
$(TESTFLAGS) \
$*.mref ( -target:$* )
$(call RUNTEST_tr, $*)

Expand All @@ -48,6 +49,7 @@ check-s:
$(call CHECKPARAM, mode)
$(scomp_tr) $(mode_tr) $(xlinx_tr) \
+cfg:.Config/config-stable.cfg +MP:. +be:$(sprofile) \
$(TESTFLAGS) \
$*.mref ( -target:$* )
$(call SRUNTEST_tr, $*)

Expand Down

0 comments on commit 7c7b305

Please sign in to comment.