Commit Graph

30 Commits

Author SHA1 Message Date
3cef60408b Use 64bit time_t, add XFS bigtime test, allow atime and mtime testing 2022-12-28 20:39:21 +00:00
395f75d1f7 Speed up coverage, not drastically 2022-06-28 17:10:21 +04:00
cfc0102d28 Use optparse library 2022-05-29 19:17:00 +04:00
a0d3499d57 Add wrappers/tests for keyboard, mouse and cursors 2022-05-29 01:55:13 +04:00
d59c8d5f55 Add a basic exfat test. 2022-03-12 00:08:20 +04:00
3cf74d2664 Sync with KolibriOS trunk
Tested on r9710.
2022-02-09 22:19:54 +03:00
5eb6770760 Improve build on Windows via llvm-mingw 2021-12-13 16:57:05 +03:00
mkostoevr
bc5091705b Update workflow
- Add test target to main makefile
- Update .gitignore
- Simplify test/makefile
2021-12-12 21:54:12 +03:00
42c1c55029 Add write_devices_dat shell command, 043_#acpi_m012.t test 2021-11-17 20:56:32 +03:00
6f998c0a3a Make ACPI logs reproducible and add ACPI reference logs. 2020-05-18 22:07:53 +03:00
4585cd3d62 Fix ARP wrappers and add ARP test stub: test/025. 2020-05-12 02:35:22 +03:00
6179e7e614 New tests and images for coverage. Don't use sudo for mkfs. 2020-03-11 06:02:33 +03:00
4b8b418f94 Add test of reading of >4GiB file.
dd if=/path/to/file status=none bs=1 skip=$((0xblah)) count=$((0xblah)) | rhash --sha3-256 --simple -
2020-03-08 22:53:11 +03:00
f39db79da3 Coverage and testing harness improvements.
Use -c key for umka_shell to trace branches, no recompilation needed.
Create >4GiB file for tests.
Create empty kolibri.img and put built default.skn there.
2020-03-08 20:58:45 +03:00
fcba0e2fa3 Use TASKSET variable of GNU make to set CPU affinity.
Don't use Linux-specific sched_setaffinity from <sched.h>.
On Linux it calls taskset(1) from util-linux.

Add your logic to the makefile if you run other platform.
2020-03-08 01:44:13 +03:00
5822be9942 Disable disk cache in tests.
It is useless since host OS cache is used anyway. It also slows down
coverage collection because of many taken branches.

Specialized tests should be written to test disk cache specifically.
2020-03-08 01:27:37 +03:00
67f7873e27 Coverage collection speed up 4x!
Also, adjust disk cache size and
move set_eflags_tf() to trace_lbr.c.
2020-02-21 05:21:09 +03:00
b2819b485b Save screenshots to PNG, make tests compare screenshots. 2020-02-19 03:56:58 +03:00
08ed3ff9ba Finally rename KOFU to UMKA -- User-Mode KolibriOS developer tools. 2020-02-17 05:43:33 +03:00
0ea4945923 Add tests for xfs v5 disk format. 2020-01-28 01:54:57 +03:00
4a242557b5 Support kernel syscall f80, add more tests for extended attributes and unicode. 2019-12-08 04:32:07 +03:00
a7df448839 Use tags for tests, remove duplicate test. 2019-11-12 04:22:19 +03:00
017bca9dee Dir lookup test. 2019-11-09 01:37:01 +03:00
45875d3d9e Move run_test to separate function, update tests.
Now it's a bit closer to multithreading.
2019-10-31 00:54:12 +03:00
d946de1c81 Add test for file holes, allow comments in logs. 2019-10-28 06:10:38 +03:00
e65cfc02d8 Fix reading at the end of file, update tests, add TODO. 2019-10-27 03:54:38 +03:00
3444c6bc2e New commands: cd and pwd. Display cwd in prompt. More tests. 2019-10-25 04:48:13 +03:00
68454dbe4d Make an order in test/ directory, write proper makefile. 2019-10-22 05:24:44 +03:00
1bb4c6f8d7 Collect coverage via LBR profiling. 2019-10-09 02:35:47 +03:00
bd2e078d13 Add tests, generate hdd images on the fly. 2018-05-19 18:50:15 +03:00