| 60 | } |
| 61 | |
| 62 | TEST(static_lib, photon_thread_alloc) { |
| 63 | #ifdef __linux__ |
| 64 | auto pid = getpid(); |
| 65 | auto p = libpath(pid) + "/libphoton.a"; |
| 66 | EXPECT_TRUE(popen_test("objdump -tr \"" + p + |
| 67 | "\" | grep photon_thread_allocE | grep .data")); |
| 68 | EXPECT_TRUE(popen_test("objdump -tr \"" + p + |
| 69 | "\" | grep photon_thread_deallocE | grep .data")); |
| 70 | #endif |
| 71 | } |
| 72 | |
| 73 | TEST(shared_lib, photon_thread_alloc) { |
| 74 | #ifdef __linux__ |
nothing calls this directly
no test coverage detected