mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-17 14:25:37 +00:00
Merge pull request #1090 from siliceum/bugfix/test-on-windows
Bugfix/test on windows
This commit is contained in:
@@ -29,3 +29,5 @@ endif()
|
||||
|
||||
# copy image file in build folder
|
||||
configure_file(${CMAKE_CURRENT_LIST_DIR}/image.jpg image.jpg COPYONLY)
|
||||
|
||||
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT tracy-test)
|
||||
|
||||
@@ -339,10 +339,7 @@ void ArenaAllocatorTest()
|
||||
|
||||
int main()
|
||||
{
|
||||
#ifdef _WIN32
|
||||
signal( SIGUSR1, SignalHandler_TriggerCrash );
|
||||
signal( SIGUSR2, SignalHandler_TriggerInstrumentationFailure );
|
||||
#else
|
||||
#ifndef _WIN32
|
||||
struct sigaction sigusr1, oldsigusr1,sigusr2, oldsigusr2 ;
|
||||
memset( &sigusr1, 0, sizeof( sigusr1 ) );
|
||||
sigusr1.sa_handler = SignalHandler_TriggerCrash;
|
||||
|
||||
Reference in New Issue
Block a user