added verification that raw_queue_test exercises the asserts
diff --git a/aos/linux_code/ipc_lib/queue.h b/aos/linux_code/ipc_lib/queue.h
index 5edce62..52d610e 100644
--- a/aos/linux_code/ipc_lib/queue.h
+++ b/aos/linux_code/ipc_lib/queue.h
@@ -122,6 +122,11 @@
// only 1 task is using this object (ie in tests).
int FreeMessages() const;
+ // Returns whether this is using the queue code compiled for debugging (used
+ // by the tests etc) or not (used by everything else because it uses
+ // noticeably less CPU).
+ static bool IsDebug();
+
private:
struct MessageHeader;