File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Run all libsigc++ tests with valgrind, searching for memory leaks.
4
+ # Execute this script in the tests directory.
5
+ # valgrind --leak-check=full .libs/lt-test_*
6
+
7
+ for testprog in test_accum_iter test_accumulated test_bind test_bind_as_slot \
8
+ test_bind_ref test_bind_refptr test_bind_return test_compose \
9
+ test_copy_invalid_slot test_cpp11_lambda test_custom test_disconnect \
10
+ test_disconnect_during_emit test_exception_catch test_hide \
11
+ test_limit_reference test_member_method_trait test_mem_fun test_ptr_fun \
12
+ test_retype test_retype_return test_signal test_signal_move test_size \
13
+ test_slot test_slot_disconnect test_slot_move test_trackable \
14
+ test_trackable_move test_track_obj test_tuple_cdr test_tuple_end \
15
+ test_tuple_for_each test_tuple_start test_tuple_transform_each \
16
+ test_visit_each test_visit_each_trackable test_weak_raw_ptr
17
+ do
18
+ echo ================
19
+ echo === $testprog
20
+ echo ================
21
+ valgrind --leak-check=full .libs/lt-$testprog
22
+ done
23
+
You can’t perform that action at this time.
0 commit comments