about summary refs log tree commit diff stats
path: root/tangle
diff options
context:
space:
mode:
Diffstat (limited to 'tangle')
-rw-r--r--tangle/000test.cc7
-rw-r--r--tangle/002main.cc1
2 files changed, 7 insertions, 1 deletions
diff --git a/tangle/000test.cc b/tangle/000test.cc
index 2754b254..64551646 100644
--- a/tangle/000test.cc
+++ b/tangle/000test.cc
@@ -1,7 +1,12 @@
 typedef void (*test_fn)(void);
 
 const test_fn Tests[] = {
-  #include "test_list"  // auto-generated; see makefile
+  #include "test_list"  // auto-generated; see 'build*' scripts
+};
+
+// Names for each element of the 'Tests' global, respectively.
+const string Test_names[] = {
+  #include "test_name_list"  // auto-generated; see 'build*' scripts
 };
 
 bool Passed = true;
diff --git a/tangle/002main.cc b/tangle/002main.cc
index c8c61039..4529c463 100644
--- a/tangle/002main.cc
+++ b/tangle/002main.cc
@@ -22,6 +22,7 @@ string flag_value(const string& flag, int argc, const char* argv[]) {
 
 int run_tests() {
   for (unsigned long i=0; i < sizeof(Tests)/sizeof(Tests[0]); ++i) {
+//?     cerr << "running " << Test_names[i] << '\n';
     START_TRACING_UNTIL_END_OF_SCOPE;
     setup();
     (*Tests[i])();