adding stack trace to tests

This commit is contained in:
2025-03-01 13:39:06 +01:00
parent ff01dafe4b
commit ff772af2e1
3 changed files with 52 additions and 1 deletions

View File

@@ -39,6 +39,8 @@ void TestPipelineSetup()
CleanupPulse(backend);
}
#include <signal.h>
void TestPipelineReadOnlyBindings()
{
PulseBackend backend;
@@ -50,6 +52,8 @@ void TestPipelineReadOnlyBindings()
#include "Shaders/ReadOnlyBindings.spv.h"
};
raise(SIGSEGV);
PulseBufferCreateInfo buffer_create_info = { 0 };
buffer_create_info.size = 256 * sizeof(int32_t);
buffer_create_info.usage = PULSE_BUFFER_USAGE_STORAGE_READ;