summaryrefslogtreecommitdiffstats
path: root/tests/ingen_test.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-06-04 15:09:02 -0400
committerDavid Robillard <d@drobilla.net>2024-06-04 15:09:02 -0400
commit16a6ab79df2d57f2060593fe3fda1e7dbf7349e3 (patch)
treede8bdae08547bdfef227c265553010c2126ab18c /tests/ingen_test.cpp
parentd7aa17453b84ecd2bf3d8eb411858d174c963226 (diff)
downloadingen-16a6ab79df2d57f2060593fe3fda1e7dbf7349e3.tar.gz
ingen-16a6ab79df2d57f2060593fe3fda1e7dbf7349e3.tar.bz2
ingen-16a6ab79df2d57f2060593fe3fda1e7dbf7349e3.zip
Avoid use of "#if 0" as a supercomment
Mainly because clang-tidy complains about it.
Diffstat (limited to 'tests/ingen_test.cpp')
-rw-r--r--tests/ingen_test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp
index 6f7e2588..ff61d7db 100644
--- a/tests/ingen_test.cpp
+++ b/tests/ingen_test.cpp
@@ -48,6 +48,8 @@
#include <string>
#include <utility>
+// #define DUMP_EVENTS 1
+
namespace ingen::test {
namespace {
@@ -171,7 +173,7 @@ run(int argc, char** argv)
forge.clear();
forge.read(*world->rdf_world(), cmds->c_obj(), subject.c_obj());
-#if 0
+#ifdef DUMP_EVENTS
const LV2_Atom* atom = forge.atom();
cerr << "READ " << atom->size << " BYTES\n";
cerr << sratom_to_turtle(