< prev index next >

test/native/memory/test_chunkManager.cpp

Print this page

        

@@ -21,12 +21,19 @@
  * questions.
  */
 
 #include "precompiled.hpp"
 
+// The test function is only available in debug builds
+#ifdef ASSERT
+
 #include "unittest.hpp"
 
 void ChunkManager_test_list_index();
 
-TEST(ChunkManager, list_index_humongous) {
+TEST(ChunkManager, list_index) {
+  // The ChunkManager is only available in metaspace.cpp,
+  // so the test code is located in that file.
   ChunkManager_test_list_index();
 }
+
+#endif // ASSERT
< prev index next >