diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-06-09 08:22:12 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-06-09 08:22:12 -0400 |
commit | 7a44ef97e92005ae6cef9654b77f469afedd42a8 (patch) | |
tree | e9bd6cd387af9b582fc7f002569f75916b863f7f /tests | |
parent | e9eba67358a5a015dac75d7db4199364cf1b5991 (diff) | |
download | stasis-7a44ef97e92005ae6cef9654b77f469afedd42a8.tar.gz |
Handle lack of __FILE_NAME__ define
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testing.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testing.h b/tests/testing.h index 2b5c1ba..35bfbd2 100644 --- a/tests/testing.h +++ b/tests/testing.h @@ -5,6 +5,10 @@ #define OMC_TEST_SUITE_FATAL 1 #define OMC_TEST_SUITE_SKIP 127 +#ifndef __FILE_NAME__ +#define __FILE_NAME__ __FILE__ +#endif + typedef void(OMC_TEST_FUNC)(); struct omc_test_result_t { const char *filename; |