Mac debugging

This commit is contained in:
Krzosa Karol
2024-01-27 22:06:53 +01:00
parent c0e7ae8d7b
commit 782536121d
2 changed files with 4 additions and 15 deletions

View File

@@ -57,6 +57,7 @@ int main() {
S8_String abs_path = OS_GetAbsolutePath(&arena, read_file_path); S8_String abs_path = OS_GetAbsolutePath(&arena, read_file_path);
IO_Printf("dir_path = %.*s\n", S8_Expand(dir_path)); IO_Printf("dir_path = %.*s\n", S8_Expand(dir_path));
IO_Printf("exe_path = %.*s\n", S8_Expand(exe_path));
IO_Assert(OS_IsDir(dir_path)); IO_Assert(OS_IsDir(dir_path));
IO_Assert(!OS_IsFile(dir_path)); IO_Assert(!OS_IsFile(dir_path));

View File

@@ -6,34 +6,22 @@
int main() { int main() {
TestSimpleInsertAndIntegrity(); TestSimpleInsertAndIntegrity();
IO_Printf("TestSimpleInsertAndIntegrity() - DONE\n");
TestStrings(); TestStrings();
IO_Printf("TestStrings() - DONE\n");
TestExclusiveArenaBackedArray(); TestExclusiveArenaBackedArray();
IO_Printf("TestExclusiveArenaBackedArray() - DONE\n");
TestRemoveForLoop(); TestRemoveForLoop();
IO_Printf("TestRemoveForLoop() - DONE\n");
TestBasic(); TestBasic();
IO_Printf("TestBasic() - DONE\n");
TestReverseLoop(); TestReverseLoop();
IO_Printf("TestReverseLoop() - DONE\n");
TestCopy(); TestCopy();
IO_Printf("TestCopy() - DONE\n");
TestBuffer(); TestBuffer();
IO_Printf("TestBuffer() - DONE\n");
TestCreateAllocate(); TestCreateAllocate();
IO_Printf("TestCreateAllocate() - DONE\n");
TestBootstrap(); TestBootstrap();
IO_Printf("TestBootstrap() - DONE\n");
TestBootstrapExclusive(); TestBootstrapExclusive();
IO_Printf("TestBootstrapExclusive() - DONE\n"); TestBootstrapArenaClear();
// TestBootstrapArenaClear();
// IO_Printf("TestBootstrapArenaClear() - DONE\n");
TestClexer(); // TestClexer();
IO_Printf("TestClexer() - DONE\n"); // IO_Printf("TestClexer() - DONE\n");
// Unicode iteration over codepoints using For // Unicode iteration over codepoints using For
{ {