Skip to content

Commit c72977b

Browse files
committed
[build] untangle the runners
1 parent e6580ee commit c72977b

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed
File renamed without changes.
File renamed without changes.

tools/build/Makefile-JVM.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ JAVA = java
22
JAVAC = javac
33
JAR = jar
44
ASM = 3rdparty/asm/
5-
J_RUNNER = @runner@
5+
J_RUNNER = nqp-j$(BAT)
66

77
NQP_JAR_DIR = $(NQP_LANG_DIR)/runtime
88
JVM_BUILD_DIR = gen/jvm

tools/build/Makefile-Moar.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MOAR = $(BIN_DIR)/moar
2-
M_RUNNER = @runner@
2+
M_RUNNER = nqp-m$(BAT)
33

44
M_STAGE0 = src/vm/moar/stage0
55
M_STAGE1 = gen/moar/stage1

tools/build/Makefile-Parrot.in

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ PARROT_LIBRARY_DIR = $(PARROT_LIB_DIR)/library
1515
NQP_LANG_DIR = $(PARROT_LIB_DIR)/languages/nqp
1616
HAS_ICU = @has_icu@
1717
BAT = @bat@
18-
NQP_LAUNCHER = ./nqp
18+
P_RUNNER = ./nqp-p
1919

2020
PARROT_BUILD_DIR = gen/parrot
2121

@@ -474,7 +474,7 @@ P_CLEANUPS = \
474474
src/vm/parrot/6model/reprs/*$(O) \
475475
src/vm/parrot/6model/reprs/*.pdb \
476476

477-
p-all: $(PARROT_BUILD_DIR)/$(NQP_EXE) $(P5QREGEX_PBC) $(NQP_LAUNCHER)$(BAT)
477+
p-all: $(PARROT_BUILD_DIR)/$(NQP_EXE) $(P5QREGEX_PBC) $(P_RUNNER)$(BAT)
478478

479479
p-install: p-base-install p-exec-install
480480

@@ -695,9 +695,9 @@ $(ALL_PBCS): $(STAGE2_PBCS)
695695
$(CP) $(P_STAGE2)/$(P6QREGEX_PBC) $(PARROT_BUILD_DIR)
696696
$(CP) $(P_STAGE2)/$(NQP_PBC) $(PARROT_BUILD_DIR)
697697

698-
$(NQP_LAUNCHER)$(BAT): $(PARROT_BUILD_DIR)/$(NQP_EXE) gen/parrot/nqp_launcher
699-
$(CP) gen/parrot/nqp_launcher $(NQP_LAUNCHER)$(BAT)
700-
$(CHMOD) 755 $(NQP_LAUNCHER)$(BAT)
698+
$(P_RUNNER)$(BAT): $(PARROT_BUILD_DIR)/$(NQP_EXE) gen/parrot/nqp_launcher
699+
$(CP) gen/parrot/nqp_launcher $(P_RUNNER)$(BAT)
700+
$(CHMOD) 755 $(P_RUNNER)$(BAT)
701701

702702
$(PARROT_BUILD_DIR)/$(NQP_EXE): $(PARROT_BUILD_DIR)/$(NQP_PBC) $(PARROT_DLL_COPY)
703703
cd $(PARROT_BUILD_DIR) && $(PBC_TO_EXE) -o$(NQP_EXE) $(NQP_PBC)
@@ -1035,22 +1035,22 @@ t/*/*.t: p-all
10351035
prove -r -v --exec $(PARROT_BUILD_DIR)/$(NQP_EXE) $@
10361036

10371037
p-test: p-all
1038-
prove -r --exec "$(NQP_LAUNCHER) --vmlibs=nqp_dyncall_ops" t/nqp t/parrot t/hll t/qregex t/p5regex t/qast t/serialization t/nativecall
1038+
prove -r --exec "$(P_RUNNER) --vmlibs=nqp_dyncall_ops" t/nqp t/parrot t/hll t/qregex t/p5regex t/qast t/serialization t/nativecall
10391039

10401040
p-test-loud: p-all
1041-
prove -r -v --exec "$(NQP_LAUNCHER) --vmlibs=nqp_dyncall_ops" t/nqp t/parrot t/hll t/qregex t/p5regex t/qast t/serialization t/nativecall
1041+
prove -r -v --exec "$(P_RUNNER) --vmlibs=nqp_dyncall_ops" t/nqp t/parrot t/hll t/qregex t/p5regex t/qast t/serialization t/nativecall
10421042

1043-
p-core-test: $(NQP_LAUNCHER)$(BAT)
1043+
p-core-test: $(P_RUNNER)$(BAT)
10441044
prove -r --exec $(PARROT_BUILD_DIR)/$(NQP_EXE) t/nqp t/parrot
10451045

1046-
p-core-test-loud: $(NQP_LAUNCHER)$(BAT)
1047-
prove -r -v --exec $(NQP_LAUNCHER) t/nqp t/parrot
1046+
p-core-test-loud: $(P_RUNNER)$(BAT)
1047+
prove -r -v --exec $(P_RUNNER) t/nqp t/parrot
10481048

1049-
p-qregex-test: $(NQP_LAUNCHER)$(BAT)
1050-
prove -r --exec $(NQP_LAUNCHER) t/qregex
1049+
p-qregex-test: $(P_RUNNER)$(BAT)
1050+
prove -r --exec $(P_RUNNER) t/qregex
10511051

1052-
p-qregex-test-loud: $(NQP_LAUNCHER)$(BAT)
1053-
prove -r -v --exec $(NQP_LAUNCHER) t/qregex
1052+
p-qregex-test-loud: $(P_RUNNER)$(BAT)
1053+
prove -r -v --exec $(P_RUNNER) t/qregex
10541054

10551055
## cleaning
10561056

0 commit comments

Comments
 (0)