Commit Graph

33 Commits

Author SHA1 Message Date
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
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
06c7984a16
Move all client headers and sources to public/ directory. 2022-07-17 15:47:38 +02:00
Bartosz Taudul
d71ecd5271
Make test program data generation rate more sensible. 2022-04-29 19:12:20 +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
ce15ad763f Check for shared mutex availability. 2020-05-13 18:11:48 +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
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
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
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
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
518568a513 Move client/Tracy.hpp -> Tracy.hpp. 2017-10-16 21:28:38 +02:00
Bartosz Taudul
2011524a2d Add third locking thread to test application. 2017-10-08 21:01:49 +02:00
Bartosz Taudul
ad28bdf85d Mark locks in test application. 2017-10-06 18:15:00 +02:00
Bartosz Taudul
e7e41f1e5c Use lockable wrapper in test program. 2017-10-04 15:41:23 +02:00
Bartosz Taudul
740a132f56 Basic thread test setup. 2017-10-04 01:39:43 +02:00
Bartosz Taudul
b89adbaf8c Add second scope test. 2017-09-23 21:37:14 +02:00
Bartosz Taudul
f47b7a1cdf Add simple test application. 2017-09-22 19:32:49 +02:00