Clément Grégoire
c1177a0cde
Add fiber to test app
...
This simulates fibers on different threads. Was used to discover an issue reported on discord which led to #1364
2026-05-20 12:07:05 +02:00
Bartosz Taudul
f71c74aaf7
Change TRACY_ENABLE default to OFF to match documentation.
...
The documentation states that Tracy is disabled by default, but the
build system defaults were ON/true. Change CMake and Meson defaults to
OFF/false. Projects that need profiling enabled must now opt in
explicitly. Add explicit TRACY_ENABLE=ON / tracy_enable=true to CI
steps and the test project to preserve existing behavior.
2026-04-10 18:49:04 +02:00
Bartosz Taudul
09d6a674c4
No -rdynamic on Windows.
2026-04-03 20:10:06 +02:00
Bartosz Taudul
c53d94f538
Set color diagnostics in test CMakeLists.txt.
2026-03-30 21:47:45 +02:00
Clément Grégoire
be78dc4bfb
Tests should work under TRACY_MANUAL_LIFETIME.
...
This calls tracy::StartupProfiler(); before any other tracy call (in static init) if TRACY_MANUAL_LIFETIME is set
2026-02-01 14:45:00 +01:00
Bartosz Taudul
5e078ed0dd
Fix Lua integration with test.
2026-01-24 01:10:56 +01:00
Clément Grégoire
9b135b53b4
Add lua to test/test.cpp
2026-01-13 11:25:44 +01:00
Clément Grégoire
1a4cdef4b6
Add TracyLog to the test example
2025-12-28 15:01:00 +01:00
Clément Grégoire
16558f2915
Fix unknown allocation message in debug due to alloc name litteral not pointing to the same location
2025-12-16 19:49:08 +01:00
Clément Grégoire
9c66d27777
Test: Fix unknown allocation message in debug due to arena name litteral not pointing to the same location
2025-12-12 16:40:14 +01:00
Clément Grégoire
a3be5cca2c
Set tracy-test exe as startup project
2025-07-04 14:54:13 +02:00
Clément Grégoire
84f3bd10e8
Make test app compile on windows SIGUSR1 does not exist on windows
2025-07-04 12:56:09 +02:00
Bartosz Taudul
cacd71c401
Add arena allocator test.
2024-10-21 18:22:22 +02:00
Bartosz Taudul
6721db8600
Proper way of enabling libdebuginfod.
2024-09-27 19:59:40 +02:00
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