Skip to content

Commit bb58045

Browse files
committed
---
yaml --- r: 58050 b: refs/heads/auto c: 35214d3 h: refs/heads/master v: v3
1 parent 9bd0965 commit bb58045

File tree

187 files changed

+3598
-7847
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

187 files changed

+3598
-7847
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: d9c7d0bc938dd7a1d14e0d86fa0df439faa1ed3f
17+
refs/heads/auto: 35214d3c6cd5f70b38baa6d879ca40d9db8118ba
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

branches/auto/configure

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,10 @@ then
439439
probe CFG_ZCAT zcat
440440
fi
441441

442+
step_msg "looking for target specific programs"
443+
444+
probe CFG_ADB adb
445+
442446
if [ ! -z "$CFG_PANDOC" ]
443447
then
444448
PV_MAJOR_MINOR=$(pandoc --version | grep '^pandoc ' |

branches/auto/doc/rust.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1467,8 +1467,8 @@ A complete list of the built-in language items follows:
14671467
: Elements can be subtracted.
14681468
`mul`
14691469
: Elements can be multiplied.
1470-
`div`
1471-
: Elements have a division operation.
1470+
`quot`
1471+
: Elements have a quotient operation.
14721472
`rem`
14731473
: Elements have a remainder operation.
14741474
`neg`
@@ -1857,7 +1857,7 @@ The default meaning of the operators on standard types is given here.
18571857
Calls the `mul` method on the `core::ops::Mul` trait.
18581858
`/`
18591859
: Quotient.
1860-
Calls the `div` method on the `core::ops::Div` trait.
1860+
Calls the `quot` method on the `core::ops::Quot` trait.
18611861
`%`
18621862
: Remainder.
18631863
Calls the `rem` method on the `core::ops::Rem` trait.

branches/auto/mk/install.mk

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,69 @@ uninstall:
154154
done
155155
$(Q)rm -Rf $(PHL)/rustc
156156
$(Q)rm -f $(PREFIX_ROOT)/share/man/man1/rustc.1
157+
158+
# target platform specific variables
159+
# for arm-linux-androidabi
160+
define DEF_ADB_STATUS
161+
CFG_ADB_DEVICE=$(1)
162+
endef
163+
164+
$(foreach target,$(CFG_TARGET_TRIPLES), \
165+
$(if $(findstring $(target),"arm-linux-androideabi"), \
166+
$(if $(findstring adb,$(shell which adb)), \
167+
$(if $(findstring device,$(shell adb devices 2>/dev/null | grep -E '^[A-Za-z0-9-]+[[:blank:]]+device')), \
168+
$(info install: install-runtime-target for arm-linux-androideabi enabled \
169+
$(info install: android device attached) \
170+
$(eval $(call DEF_ADB_STATUS, true))), \
171+
$(info install: install-runtime-target for arm-linux-androideabi disabled \
172+
$(info install: android device not attached) \
173+
$(eval $(call DEF_ADB_STATUS, false))) \
174+
), \
175+
$(info install: install-runtime-target for arm-linux-androideabi disabled \
176+
$(info install: adb not found) \
177+
$(eval $(call DEF_ADB_STATUS, false))) \
178+
), \
179+
) \
180+
)
181+
182+
ifeq ($(CFG_ADB_DEVICE),true)
183+
184+
CFG_RUNTIME_PUSH_DIR=/system/lib
185+
186+
ifdef VERBOSE
187+
ADB = adb $(1)
188+
ADB_PUSH = adb push $(1) $(2)
189+
ADB_SHELL = adb shell $(1) $(2)
190+
else
191+
ADB = $(Q)$(call E, adb $(1)) && adb $(1) 1>/dev/null 2>/dev/null
192+
ADB_PUSH = $(Q)$(call E, adb push $(1)) && adb push $(1) $(2) 1>/dev/null 2>/dev/null
193+
ADB_SHELL = $(Q)$(call E, adb shell $(1) $(2)) && adb shell $(1) $(2) 1>/dev/null 2>/dev/null
194+
endif
195+
196+
define INSTALL_RUNTIME_TARGET_N
197+
install-runtime-target-$(1)-host-$(2): $$(TSREQ$$(ISTAGE)_T_$(1)_H_$(2)) $$(SREQ$$(ISTAGE)_T_$(1)_H_$(2))
198+
$(Q)$(call ADB_SHELL,mkdir,$(CFG_RUNTIME_PUSH_DIR))
199+
$(Q)$(call ADB_PUSH,$$(TL$(1)$(2))/$$(CFG_RUNTIME_$(1)),$(CFG_RUNTIME_PUSH_DIR))
200+
$(Q)$(call ADB_PUSH,$$(TL$(1)$(2))/$$(CORELIB_GLOB_$(1)),$(CFG_RUNTIME_PUSH_DIR))
201+
$(Q)$(call ADB_PUSH,$$(TL$(1)$(2))/$$(STDLIB_GLOB_$(1)),$(CFG_RUNTIME_PUSH_DIR))
202+
endef
203+
204+
define INSTALL_RUNTIME_TARGET_CLEANUP_N
205+
install-runtime-target-$(1)-cleanup:
206+
$(Q)$(call ADB,remount)
207+
$(Q)$(call ADB_SHELL,rm,$(CFG_RUNTIME_PUSH_DIR)/$(CFG_RUNTIME_$(1)))
208+
$(Q)$(call ADB_SHELL,rm,$(CFG_RUNTIME_PUSH_DIR)/$(CORELIB_GLOB_$(1)))
209+
$(Q)$(call ADB_SHELL,rm,$(CFG_RUNTIME_PUSH_DIR)/$(STDLIB_GLOB_$(1)))
210+
endef
211+
212+
$(eval $(call INSTALL_RUNTIME_TARGET_N,arm-linux-androideabi,$(CFG_BUILD_TRIPLE)))
213+
$(eval $(call INSTALL_RUNTIME_TARGET_CLEANUP_N,arm-linux-androideabi))
214+
215+
install-runtime-target: \
216+
install-runtime-target-arm-linux-androideabi-cleanup \
217+
install-runtime-target-arm-linux-androideabi-host-$(CFG_BUILD_TRIPLE)
218+
219+
else
220+
install-runtime-target:
221+
@echo
222+
endif

branches/auto/mk/rt.mk

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,16 +163,14 @@ endif
163163
ifdef CFG_WINDOWSY_$(1)
164164
$$(LIBUV_LIB_$(1)): $$(LIBUV_DEPS)
165165
$$(Q)$$(MAKE) -C $$(S)src/libuv/ \
166-
CFLAGS="$$(CFG_GCCISH_CFLAGS)" \
167-
LDFLAGS="$$(CFG_GCCISH_LINK_FLAGS)" \
168166
builddir_name="$$(CFG_BUILD_DIR)/rt/$(1)/libuv" \
169167
OS=mingw \
170168
V=$$(VERBOSE)
171169
else ifeq ($(OSTYPE_$(1)), linux-androideabi)
172170
$$(LIBUV_LIB_$(1)): $$(LIBUV_DEPS)
173171
$$(Q)$$(MAKE) -C $$(S)src/libuv/ \
174-
CFLAGS="$$(CFG_GCCISH_CFLAGS) $$(LIBUV_FLAGS_$$(HOST_$(1))) $$(SNAP_DEFINES)" \
175-
LDFLAGS="$$(CFG_GCCISH_LINK_FLAGS) $$(LIBUV_FLAGS_$$(HOST_$(1)))" \
172+
CFLAGS="$$(LIBUV_FLAGS_$$(HOST_$(1))) $$(SNAP_DEFINES)" \
173+
LDFLAGS="$$(LIBUV_FLAGS_$$(HOST_$(1)))" \
176174
CC="$$(CC_$(1))" \
177175
CXX="$$(CXX_$(1))" \
178176
AR="$$(AR_$(1))" \
@@ -183,8 +181,8 @@ $$(LIBUV_LIB_$(1)): $$(LIBUV_DEPS)
183181
else
184182
$$(LIBUV_LIB_$(1)): $$(LIBUV_DEPS)
185183
$$(Q)$$(MAKE) -C $$(S)src/libuv/ \
186-
CFLAGS="$$(CFG_GCCISH_CFLAGS) $$(LIBUV_FLAGS_$$(HOST_$(1))) $$(SNAP_DEFINES)" \
187-
LDFLAGS="$$(CFG_GCCISH_LINK_FLAGS) $$(LIBUV_FLAGS_$$(HOST_$(1)))" \
184+
CFLAGS="$$(LIBUV_FLAGS_$$(HOST_$(1))) $$(SNAP_DEFINES)" \
185+
LDFLAGS="$$(LIBUV_FLAGS_$$(HOST_$(1)))" \
188186
CC="$$(CC_$(1))" \
189187
CXX="$$(CXX_$(1))" \
190188
AR="$$(AR_$(1))" \

branches/auto/mk/tests.mk

Lines changed: 109 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,47 @@ endef
9292
$(foreach target,$(CFG_TARGET_TRIPLES), \
9393
$(eval $(call DEF_TARGET_COMMANDS,$(target))))
9494

95+
# Target specific variables
96+
# for arm-linux-androidabi
97+
define DEF_RUNNABLE_STATUS
98+
CFG_RUNNABLE_$(1)=$(2)
99+
endef
100+
101+
$(foreach target,$(CFG_TARGET_TRIPLES), \
102+
$(if $(findstring $(target),$(CFG_BUILD_TRIPLE)), \
103+
$(info check: $(target) test set is runnable \
104+
$(eval $(call DEF_RUNNABLE_STATUS,$(target),true))), \
105+
$(if $(findstring $(target),"arm-linux-androideabi"), \
106+
$(if $(findstring adb,$(shell which adb)), \
107+
$(if $(findstring device,$(shell adb devices 2>/dev/null | grep -E '^[A-Za-z0-9-]+[[:blank:]]+device')), \
108+
$(info check: $(target) test set is runnable \
109+
$(info check: adb device attached) \
110+
$(eval $(call DEF_RUNNABLE_STATUS,$(target),true))), \
111+
$(info check: $(target) test set is not runnable \
112+
$(info check: adb device not attached) \
113+
$(eval $(call DEF_RUNNABLE_STATUS,$(target),false))) \
114+
), \
115+
$(info check: $(target) test set is not runnable \
116+
$(info check: adb not found) \
117+
$(eval $(call DEF_RUNNABLE_STATUS,$(target),false))) \
118+
), \
119+
$(info check: $(target) test set is not runnable \
120+
$(eval $(call DEF_RUNNABLE_STATUS,$(target),false)) \
121+
) \
122+
) \
123+
) \
124+
)
125+
126+
ifeq ($(CFG_RUNNABLE_arm-linux-androideabi),true)
127+
CFG_ADB_DEVICE=true
128+
CFG_ADB_PATH := $(shell which adb)
129+
CFG_ADB_TEST_DIR=/system/tmp
130+
131+
$(info check: device $(CFG_ADB_TEST_DIR) \
132+
$(shell $(CFG_ADB_PATH) remount 1>/dev/null) \
133+
$(shell $(CFG_ADB_PATH) shell mkdir $(CFG_ADB_TEST_DIR) 1>/dev/null) \
134+
)
135+
endif
95136

96137
######################################################################
97138
# Main test targets
@@ -319,11 +360,52 @@ $$(call TEST_OK_FILE,$(1),$(2),$(3),$(4)): \
319360
&& touch $$@
320361
endef
321362

363+
define DEF_TEST_CRATE_RULES_arm-linux-androideabi
364+
check-stage$(1)-T-$(2)-H-$(3)-$(4)-exec: $$(call TEST_OK_FILE,$(1),$(2),$(3),$(4))
365+
366+
$$(call TEST_OK_FILE,$(1),$(2),$(3),$(4)): \
367+
$(3)/test/$(4)test.stage$(1)-$(2)$$(X_$(2))
368+
@$$(call E, run: $$< via adb)
369+
@$(CFG_ADB_PATH) push $$< $(CFG_ADB_TEST_DIR)
370+
@$(CFG_ADB_PATH) shell $(CFG_ADB_TEST_DIR)/`echo $$< | sed 's/.*\///'` \
371+
--logfile $(CFG_ADB_TEST_DIR)/check-stage$(1)-T-$(2)-H-$(3)-$(4).log > \
372+
tmp/check-stage$(1)-T-$(2)-H-$(3)-$(4).tmp
373+
@cat tmp/check-stage$(1)-T-$(2)-H-$(3)-$(4).tmp
374+
@touch tmp/check-stage$(1)-T-$(2)-H-$(3)-$(4).log
375+
@$(CFG_ADB_PATH) pull $(CFG_ADB_TEST_DIR)/check-stage$(1)-T-$(2)-H-$(3)-$(4).log tmp/
376+
@$(CFG_ADB_PATH) shell rm $(CFG_ADB_TEST_DIR)/check-stage$(1)-T-$(2)-H-$(3)-$(4).log
377+
@if grep -q "result: ok" tmp/check-stage$(1)-T-$(2)-H-$(3)-$(4).tmp; \
378+
then \
379+
rm tmp/check-stage$(1)-T-$(2)-H-$(3)-$(4).tmp; \
380+
touch $$@; \
381+
else \
382+
rm tmp/check-stage$(1)-T-$(2)-H-$(3)-$(4).tmp; \
383+
exit 101; \
384+
fi
385+
endef
386+
387+
define DEF_TEST_CRATE_RULES_null
388+
check-stage$(1)-T-$(2)-H-$(3)-$(4)-exec: $$(call TEST_OK_FILE,$(1),$(2),$(3),$(4))
389+
390+
$$(call TEST_OK_FILE,$(1),$(2),$(3),$(4)): \
391+
$(3)/test/$(4)test.stage$(1)-$(2)$$(X_$(2))
392+
@$$(call E, run: skipped $$< )
393+
@touch $$@
394+
endef
395+
322396
$(foreach host,$(CFG_HOST_TRIPLES), \
323397
$(foreach target,$(CFG_TARGET_TRIPLES), \
324398
$(foreach stage,$(STAGES), \
325399
$(foreach crate, $(TEST_CRATES), \
326-
$(eval $(call DEF_TEST_CRATE_RULES,$(stage),$(target),$(host),$(crate)))))))
400+
$(if $(findstring $(target),$(CFG_BUILD_TRIPLE)), \
401+
$(eval $(call DEF_TEST_CRATE_RULES,$(stage),$(target),$(host),$(crate))), \
402+
$(if $(findstring $(target),"arm-linux-androideabi"), \
403+
$(if $(findstring $(CFG_RUNNABLE_arm-linux-androideabi),"true"), \
404+
$(eval $(call DEF_TEST_CRATE_RULES_arm-linux-androideabi,$(stage),$(target),$(host),$(crate))), \
405+
$(eval $(call DEF_TEST_CRATE_RULES_null,$(stage),$(target),$(host),$(crate))) \
406+
), \
407+
$(eval $(call DEF_TEST_CRATE_RULES_null,$(stage),$(target),$(host),$(crate))) \
408+
))))))
327409

328410

329411
######################################################################
@@ -414,15 +496,36 @@ TEST_SREQ$(1)_T_$(2)_H_$(3) = \
414496

415497
# Rules for the cfail/rfail/rpass/bench/perf test runner
416498

499+
ifeq ($(CFG_ADB_DEVICE),true)
500+
501+
CTEST_COMMON_ARGS$(1)-T-$(2)-H-$(3) := \
502+
--compile-lib-path $$(HLIB$(1)_H_$(3)) \
503+
--run-lib-path $$(TLIB$(1)_T_$(2)_H_$(3)) \
504+
--rustc-path $$(HBIN$(1)_H_$(3))/rustc$$(X_$(3)) \
505+
--aux-base $$(S)src/test/auxiliary/ \
506+
--stage-id stage$(1)-$(2) \
507+
--host $(CFG_BUILD_TRIPLE) \
508+
--target $(2) \
509+
--adb-path=$(CFG_ADB_PATH) \
510+
--adb-test-dir=$(CFG_ADB_TEST_DIR) \
511+
--rustcflags "$(RUSTC_FLAGS_$(2)) $$(CFG_RUSTC_FLAGS) --target=$(2)" \
512+
$$(CTEST_TESTARGS)
513+
514+
else
515+
417516
CTEST_COMMON_ARGS$(1)-T-$(2)-H-$(3) := \
418517
--compile-lib-path $$(HLIB$(1)_H_$(3)) \
419518
--run-lib-path $$(TLIB$(1)_T_$(2)_H_$(3)) \
420-
--rustc-path $$(HBIN$(1)_H_$(3))/rustc$$(X_$(3)) \
519+
--rustc-path $$(HBIN$(1)_H_$(3))/rustc$$(X_$(3)) \
421520
--aux-base $$(S)src/test/auxiliary/ \
422521
--stage-id stage$(1)-$(2) \
522+
--host $(CFG_BUILD_TRIPLE) \
523+
--target $(2) \
423524
--rustcflags "$(RUSTC_FLAGS_$(2)) $$(CFG_RUSTC_FLAGS) --target=$(2)" \
424525
$$(CTEST_TESTARGS)
425526

527+
endif
528+
426529
CTEST_DEPS_rpass_$(1)-T-$(2)-H-$(3) = $$(RPASS_TESTS)
427530
CTEST_DEPS_rpass_full_$(1)-T-$(2)-H-$(3) = $$(RPASS_FULL_TESTS) $$(TLIBRUSTC_DEFAULT$(1)_T_$(2)_H_$(3))
428531
CTEST_DEPS_rfail_$(1)-T-$(2)-H-$(3) = $$(RFAIL_TESTS)
@@ -454,7 +557,7 @@ ifeq ($$(CTEST_DISABLE_$(4)),)
454557
$$(call TEST_OK_FILE,$(1),$(2),$(3),$(4)): \
455558
$$(TEST_SREQ$(1)_T_$(2)_H_$(3)) \
456559
$$(CTEST_DEPS_$(4)_$(1)-T-$(2)-H-$(3))
457-
@$$(call E, run $(4): $$<)
560+
@$$(call E, run $(4) [$(2)]: $$<)
458561
$$(Q)$$(call CFG_RUN_CTEST_$(2),$(1),$$<,$(3)) \
459562
$$(CTEST_ARGS$(1)-T-$(2)-H-$(3)-$(4)) \
460563
--logfile $$(call TEST_LOG_FILE,$(1),$(2),$(3),$(4)) \
@@ -465,7 +568,7 @@ else
465568
$$(call TEST_OK_FILE,$(1),$(2),$(3),$(4)): \
466569
$$(TEST_SREQ$(1)_T_$(2)_H_$(3)) \
467570
$$(CTEST_DEPS_$(4)_$(1)-T-$(2)-H-$(3))
468-
@$$(call E, run $(4): $$<)
571+
@$$(call E, run $(4) [$(2)]: $$<)
469572
@$$(call E, warning: tests disabled: $$(CTEST_DISABLE_$(4)))
470573
touch $$@
471574

@@ -506,7 +609,7 @@ check-stage$(1)-T-$(2)-H-$(3)-$(4)-exec: $$(call TEST_OK_FILE,$(1),$(2),$(3),$(4
506609
$$(call TEST_OK_FILE,$(1),$(2),$(3),$(4)): \
507610
$$(TEST_SREQ$(1)_T_$(2)_H_$(3)) \
508611
$$(PRETTY_DEPS_$(4))
509-
@$$(call E, run pretty-rpass: $$<)
612+
@$$(call E, run pretty-rpass [$(2)]: $$<)
510613
$$(Q)$$(call CFG_RUN_CTEST_$(2),$(1),$$<,$(3)) \
511614
$$(PRETTY_ARGS$(1)-T-$(2)-H-$(3)-$(4)) \
512615
--logfile $$(call TEST_LOG_FILE,$(1),$(2),$(3),$(4)) \
@@ -533,7 +636,7 @@ check-stage$(1)-T-$(2)-H-$(3)-doc-$(4)-exec: $$(call TEST_OK_FILE,$(1),$(2),$(3)
533636
$$(call TEST_OK_FILE,$(1),$(2),$(3),doc-$(4)): \
534637
$$(TEST_SREQ$(1)_T_$(2)_H_$(3)) \
535638
doc-$(4)-extract$(3)
536-
@$$(call E, run doc-$(4): $$<)
639+
@$$(call E, run doc-$(4) [$(2)]: $$<)
537640
$$(Q)$$(call CFG_RUN_CTEST_$(2),$(1),$$<,$(3)) \
538641
$$(DOC_TEST_ARGS$(1)-T-$(2)-H-$(3)-doc-$(4)) \
539642
--logfile $$(call TEST_LOG_FILE,$(1),$(2),$(3),doc-$(4)) \

branches/auto/src/compiletest/common.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,21 @@ pub struct config {
6464
// Run tests using the new runtime
6565
newrt: bool,
6666

67+
// Host System to be built
68+
host: ~str,
69+
70+
// Target System to be executed
71+
target: ~str,
72+
73+
// Extra parameter to run adb on arm-linux-androideabi
74+
adb_path: ~str,
75+
76+
// Extra parameter to run test sute on arm-linux-androideabi
77+
adb_test_dir: ~str,
78+
79+
// check if can be run or not
80+
flag_runnable: bool,
81+
6782
// Explain what's going on
6883
verbose: bool
6984

branches/auto/src/compiletest/compiletest.rc

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,12 @@ pub fn parse_config(args: ~[~str]) -> config {
6060
getopts::optflag(~"verbose"),
6161
getopts::optopt(~"logfile"),
6262
getopts::optflag(~"jit"),
63-
getopts::optflag(~"newrt")];
63+
getopts::optflag(~"newrt"),
64+
getopts::optopt(~"host"),
65+
getopts::optopt(~"target"),
66+
getopts::optopt(~"adb-path"),
67+
getopts::optopt(~"adb-test-dir")
68+
];
6469

6570
assert!(!args.is_empty());
6671
let args_ = vec::tail(args);
@@ -93,6 +98,23 @@ pub fn parse_config(args: ~[~str]) -> config {
9398
rustcflags: getopts::opt_maybe_str(matches, ~"rustcflags"),
9499
jit: getopts::opt_present(matches, ~"jit"),
95100
newrt: getopts::opt_present(matches, ~"newrt"),
101+
host: opt_str(getopts::opt_maybe_str(matches, ~"host")),
102+
target: opt_str(getopts::opt_maybe_str(matches, ~"target")),
103+
adb_path: opt_str(getopts::opt_maybe_str(matches, ~"adb-path")),
104+
adb_test_dir: opt_str(getopts::opt_maybe_str(matches, ~"adb-test-dir")),
105+
flag_runnable:
106+
if (getopts::opt_maybe_str(matches, ~"host") ==
107+
getopts::opt_maybe_str(matches, ~"target")) { true }
108+
else {
109+
match getopts::opt_maybe_str(matches, ~"target") {
110+
Some(~"arm-linux-androideabi") => {
111+
if (getopts::opt_maybe_str(matches, ~"adb-path") !=
112+
option::None) { true }
113+
else { false }
114+
}
115+
_ => { false }
116+
}
117+
},
96118
verbose: getopts::opt_present(matches, ~"verbose")
97119
}
98120
}
@@ -113,6 +135,11 @@ pub fn log_config(config: config) {
113135
logv(c, fmt!("rustcflags: %s", opt_str(config.rustcflags)));
114136
logv(c, fmt!("jit: %b", config.jit));
115137
logv(c, fmt!("newrt: %b", config.newrt));
138+
logv(c, fmt!("host: %s", config.host));
139+
logv(c, fmt!("target: %s", config.target));
140+
logv(c, fmt!("adb_path: %s", config.adb_path));
141+
logv(c, fmt!("adb_test_dir: %s", config.adb_test_dir));
142+
logv(c, fmt!("flag_runnable: %b", config.flag_runnable));
116143
logv(c, fmt!("verbose: %b", config.verbose));
117144
logv(c, fmt!("\n"));
118145
}
@@ -223,3 +250,10 @@ pub fn make_test_closure(config: config, testfile: &Path) -> test::TestFn {
223250
let testfile = testfile.to_str();
224251
test::DynTestFn(|| runtest::run(config, testfile))
225252
}
253+
254+
// Local Variables:
255+
// fill-column: 78;
256+
// indent-tabs-mode: nil
257+
// c-basic-offset: 4
258+
// buffer-file-coding-system: utf-8-unix
259+
// End:

0 commit comments

Comments
 (0)