Commit Graph

19 Commits

Author SHA1 Message Date
Jeroen van Rijn
30388cada3 Fix os2.clean_path on Windows 2025-05-11 15:35:52 +02:00
Feoramund
3525e71739 Add tests for new os2 path API 2025-03-21 19:14:15 -04:00
Feoramund
4e7f54c565 Decouple usage of filepath from os2 2025-03-21 19:14:15 -04:00
Laytan Laats
0e4140a602 os/os2: recursive directory walker, expose errors in read_directory, file clone
Adds a directory walker, a method of exposing and retrieving errors from
the existing read directory iterator, allows reusing of the existing
read directory iterator, and adds a file clone procedure
2025-02-24 20:40:44 +01:00
Laytan Laats
b673642412 os/os2: add get_executable_path and get_executable_directory 2025-01-21 18:54:45 +01:00
Laytan Laats
282d956aa7 os2: skip dir test when unsupported 2024-11-15 21:56:55 +01:00
Laytan Laats
71020d7642 os2: add read dir test 2024-11-15 20:47:51 +01:00
Laytan Laats
c21e62ddb4 reset n before stderr path too 2024-10-05 11:26:23 +02:00
Laytan
64508e477b add unsupported check in process test 2024-10-04 13:24:24 +02:00
Laytan Laats
af8b592bf6 enable test on bsds 2024-10-03 14:45:45 +02:00
Laytan Laats
76806080ef fix os2.process_exec on non-windows and add a smoke test 2024-10-03 13:51:27 +02:00
Laytan Laats
a4ac3cc6e8 fix os.read_dir closing the given file descriptor 2024-08-12 18:51:27 +02:00
Jeroen van Rijn
94c62fb630 Fix typo. 2024-08-08 18:01:09 +02:00
Jeroen van Rijn
d93f3c63d8 Rename package to test_core_os to fit with the rest of test_* 2024-08-08 17:49:08 +02:00
Jeroen van Rijn
ada3df303e Allow symlink test to work irrespective of git settings. 2024-08-08 17:46:00 +02:00
gingerBill
97c499dbb4 Begin mapping os.Error in the rest of the codebase 2024-08-04 11:58:04 +01:00
Laytan Laats
99d9e8f8b1 fix os.read_dir with symlinks 2024-08-03 00:26:46 +02:00
Laytan Laats
0a528777e8 utilize odin test -all-packages instead of (make/bat) scripts for running tests 2024-06-07 15:50:00 +02:00
gitlost
8661457512 Use WIFEXITED() and WEXITSTATUS() on Unix system() exit code
(ensures Odin run returns correct exit code of built executable)
Adds test "tests/core/os/test_core_os_exit.odin" (Unix only)
2022-03-24 19:31:46 +00:00