Commit Graph

58 Commits

Author SHA1 Message Date
Bartosz Taudul
b18796c1c0
Add text formatting function to test. 2024-08-08 19:52:47 +02:00
Bartosz Taudul
9a9f1c2ab9
Set plot thread group hint to -1 in the test application. 2024-08-03 19:41:44 +02:00
Bartosz Taudul
5634c1520e
Merge pull request #833 from Arpafaucon/trigger-failures-in-test
[test] Trigger failures via USR1/USR2
2024-07-17 19:57:31 +02:00
Grégoire Roussel
7a74d38198 (review) use signal.h 2024-07-17 18:19:33 +02:00
Grégoire Roussel
82fd4075f9 [test] Trigger failures via USR1/USR2
USR1: abort the program
USR2: send buggy free event, to trigger an instrumentation failure
2024-07-17 17:30:52 +02:00
Bartosz Taudul
521e371c60
Ignore CMake build directories. 2024-07-12 17:13:16 +02:00
Grégoire Roussel
bad4a4eda0 debuginfod enabled by default 2024-07-03 14:10:40 +02:00
Grégoire Roussel
9cf61d6597 [build-system] Migrate test/ directory to CMakeLists
- remove MakeFile, replaced with equivalent CMakeLists.txt
- add advanced option TRACY_DEMANGLE in client for CI testing
2024-07-03 14:05:49 +02:00
Bartosz Taudul
cc5e97c88d
Bump stb_image.h to 2.28. 2023-01-31 22:55:18 +01:00
Bartosz Taudul
3d9d242153
Fix test application flags. 2022-08-16 14:12:22 +02:00
Bartosz Taudul
06c7984a16
Move all client headers and sources to public/ directory. 2022-07-17 15:47:38 +02:00
Bartosz Taudul
4f1af9deaa
Restrict debuginfod to Linux. 2022-05-01 01:04:05 +02:00
Bartosz Taudul
bae12548c7
Enable debuginfod in test application. 2022-04-30 19:19:47 +02:00
Bartosz Taudul
d80ad500ee
Do not pass linker flags during compilation. 2022-04-30 19:02:06 +02:00
Bartosz Taudul
d71ecd5271
Make test program data generation rate more sensible. 2022-04-29 19:12:20 +02:00
Bartosz Taudul
07bc665d8c
Drop support for Cygwin. 2021-10-07 23:28:40 +02:00
Bartosz Taudul
d2b3182ab6
Update stb_image to 2.27. 2021-07-25 12:05:07 +02:00
Bartosz Taudul
4537276e98 Custom allocator test. 2020-09-24 01:31:23 +02:00
Bartosz Taudul
35f939165d Don't sleep in test application's fibonacci thread. 2020-08-12 23:55:49 +02:00
Bartosz Taudul
6866d8f429 Update stb_image to 2.26. 2020-07-31 01:42:57 +02:00
Bartosz Taudul
29d7639c38 Downgrade test application C++ version to C++11. 2020-05-13 18:11:55 +02:00
Bartosz Taudul
ce15ad763f Check for shared mutex availability. 2020-05-13 18:11:48 +02:00
Bartosz Taudul
0a6fd9ef5f Link with execinfo on FreeBSD. 2019-11-21 20:41:57 +01:00
Bartosz Taudul
2a9b1b3cf3 Allow easy adding of tracy flags in test application. 2019-09-21 15:49:54 +02:00
Bartosz Taudul
92b6da7cc2 SetThreadName() only works on the current thread.
This breaking change is required, because kernel trace facilities use
kernel thread ids, which are inaccessible from the pthread_t level.
2019-08-14 02:22:45 +02:00
Bartosz Taudul
5c1bae812a Add frame images to test application. 2019-06-13 01:53:47 +02:00
Bartosz Taudul
2eb67b4684 Add test image. 2019-06-13 01:48:13 +02:00
Bartosz Taudul
420a50feea Function inlining test. 2019-01-20 16:55:09 +01:00
Bartosz Taudul
73cbd7dc3a Add deadlock test. 2019-01-14 18:48:16 +01:00
Bartosz Taudul
0b568d55ba Add thread that only allocates memory. 2018-08-28 01:48:03 +02:00
Bartosz Taudul
c4ea13dab5 Static initialization order test. 2018-08-13 12:13:28 +02:00
Bartosz Taudul
9308d7964c Callstack capture timing test. 2018-06-24 17:55:05 +02:00
Bartosz Taudul
c8f51d7f11 More involved callstack frame description on linux. 2018-06-20 22:54:42 +02:00
Bartosz Taudul
dc20742b5b Callstack support needs the -rdynamic flag. 2018-06-20 21:02:14 +02:00
Bartosz Taudul
6c9add0f30 Track memory allocations in test application. 2018-06-20 19:48:14 +02:00
Bartosz Taudul
09304390dd Overload operator new and delete in test. 2018-06-20 19:45:20 +02:00
Bartosz Taudul
46cc92bd01 Link test executable with dbghelp under cygwin. 2018-06-19 19:51:29 +02:00
Bartosz Taudul
1bddf76f8d Improve shared locks timing. 2017-12-10 21:59:17 +01:00
Bartosz Taudul
06fcb24440 Use shared lockable wrappers in test. 2017-12-10 21:52:26 +01:00
Bartosz Taudul
171e962f97 Shared mutex test. 2017-12-10 20:36:10 +01:00
Bartosz Taudul
540f71cfd6 Use new interface in test. 2017-11-15 10:56:19 +01:00
Bartosz Taudul
0578445762 C++11 is enough. 2017-10-30 22:07:37 +01:00
Bartosz Taudul
7a13494424 No _GNU_SOURCE define in test application. 2017-10-30 21:55:26 +01:00
Bartosz Taudul
52430d08b7 Add recursive mutex test. 2017-10-25 23:08:14 +02:00
Bartosz Taudul
cc8683a399 Store TextData pointer as an index in array.
This further reduces ZoneEvent size by 4 bytes.
2017-10-22 16:40:15 +02:00
Bartosz Taudul
56d2842e2e Add depth test (fibonacci). 2017-10-22 15:57:08 +02:00
Bartosz Taudul
3a0d77a35a Send messages in test application. 2017-10-20 18:30:28 +02:00
Bartosz Taudul
57454d3985 Add plots to test application. 2017-10-19 18:57:41 +02:00
Bartosz Taudul
9d55bc071b Enable profiling in the test application. 2017-10-16 21:43:13 +02:00
Bartosz Taudul
518568a513 Move client/Tracy.hpp -> Tracy.hpp. 2017-10-16 21:28:38 +02:00