Skip to content

Commit af94730

Browse files
committed
---
yaml --- r: 64894 b: refs/heads/snap-stage3 c: 91f1ab4 h: refs/heads/master v: v3
1 parent 1e3e5fa commit af94730

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 38d62feec1e65ba5ed57235355053782ca15b5ff
4+
refs/heads/snap-stage3: 91f1ab48969e1b7d3f4871348db2ec302000c93a
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/mk/tests.mk

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,12 @@ ifdef CHECK_XFAILS
3434
TESTARGS += --ignored
3535
endif
3636

37-
TEST_BENCH = --bench
37+
CTEST_BENCH = --bench
3838

3939
# Arguments to the cfail/rfail/rpass/bench tests
4040
ifdef CFG_VALGRIND
4141
CTEST_RUNTOOL = --runtool "$(CFG_VALGRIND)"
42-
TEST_BENCH =
43-
endif
44-
45-
ifdef NO_BENCH
46-
TEST_BENCH =
42+
CTEST_BENCH =
4743
endif
4844

4945
# Arguments to the perf tests
@@ -73,12 +69,12 @@ TEST_RATCHET_NOISE_PERCENT=10.0
7369
# Whether to ratchet or merely save benchmarks
7470
ifdef CFG_RATCHET_BENCH
7571
CRATE_TEST_BENCH_ARGS=\
76-
--test $(TEST_BENCH) \
72+
--test $(CTEST_BENCH) \
7773
--ratchet-metrics $(call TEST_RATCHET_FILE,$(1),$(2),$(3),$(4)) \
7874
--ratchet-noise-percent $(TEST_RATCHET_NOISE_PERCENT)
7975
else
8076
CRATE_TEST_BENCH_ARGS=\
81-
--test $(TEST_BENCH) \
77+
--test $(CTEST_BENCH) \
8278
--save-metrics $(call TEST_RATCHET_FILE,$(1),$(2),$(3),$(4))
8379
endif
8480

branches/snap-stage3/src/rt/rust_builtin.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -939,12 +939,12 @@ static lock_and_signal change_dir_lock;
939939

940940
extern "C" CDECL void
941941
rust_take_change_dir_lock() {
942-
global_args_lock.lock();
942+
change_dir_lock.lock();
943943
}
944944

945945
extern "C" CDECL void
946946
rust_drop_change_dir_lock() {
947-
global_args_lock.unlock();
947+
change_dir_lock.unlock();
948948
}
949949

950950
//

0 commit comments

Comments
 (0)