Commit Graph

142 Commits

Author SHA1 Message Date
mkostoevr
05abd26ece Disable test with 4TiB img required 2021-12-12 21:54:28 +03:00
mkostoevr
6a1da788e3 Make fat32_test0 reasonably fast 2021-12-12 21:54:20 +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
mkostoevr
08648324cb Add fat32_test0 test 2021-12-12 21:54:06 +03:00
mkostoevr
07e262d8b8 Make it cloneable on win32 2021-12-12 14:31:43 +03:00
b5bd088e09 Clean branch main from acpi stuff, move it to branch acpi 2021-12-01 22:17:02 +03:00
129e6d4fe7 Update logs. 2021-11-17 20:56:40 +03:00
42c1c55029 Add write_devices_dat shell command, 043_#acpi_m012.t test 2021-11-17 20:56:32 +03:00
3d50050c6b Update logs. 2021-11-16 19:40:06 +03:00
18c6f4922c Add new shell commands: dump_win_map and set (variable). 2021-11-02 12:50:13 +03:00
72570a7bc3 Add ahci_init label, new tests, update logs. 2021-09-20 07:20:06 +03:00
ba8e7940b4 Fix wnd_number in 016_#f01_#draw_all.t 2021-07-17 05:15:14 +03:00
ffa2480f2a Replace some hardcoded values with macros 2021-07-17 03:03:36 +03:00
d04e71f6a5 Another check of returned value.
Also, add removed file.
2021-07-01 02:42:04 +03:00
d522e6c3e9 Align with kernel trunk. 2021-06-23 19:43:26 +03:00
e5d50667de Add basic node counting logic, update tests. 2021-05-31 17:32:04 +03:00
f87fcd87dc Wrap is_region_userspace with a macro, update logs. 2021-04-02 04:22:22 +03:00
cdd733ef3d Add one more unit test, update logs. 2020-12-29 12:45:24 +03:00
7be0bfe574 Update test logs. 2020-12-29 07:12:09 +03:00
08bad4b2eb Update test logs. 2020-12-28 23:29:36 +03:00
357202412e Update test logs. 2020-12-28 06:52:07 +03:00
b24dc386f8 Update logs. 2020-12-27 06:18:34 +03:00
4a6495d786 Update logs. 2020-12-17 19:42:14 +03:00
afb184fa3f Add one more test config, update logs. 2020-12-09 17:15:54 +03:00
f4921f9b9f Add one more Atom test config, update logs. 2020-11-19 04:21:15 +03:00
ea43ef1662 Rename cast to convert (regarding the spec), add acpica test stub. 2020-10-22 20:09:43 +03:00
f9db3877e5 Align SLOT_BASE and HEAP_BASE properly via umka.ld script. 2020-10-22 02:44:34 +03:00
811cc93c5c Add two new test acpi+pci configurations.
qemu -M pc, kolibrios.org server
2020-10-09 00:19:53 +03:00
6d302f27fe Finally use ramdisk code for /rd/.
E.g. in the test 016_#f01_#draw_all.t.
2020-09-18 15:26:51 +03:00
1611215442 Use -Wpedantic and flexible array members instead of zero-length arrays. 2020-09-17 19:44:57 +03:00
b3a27127b2 New shell command: acpi_call, new test: ACPI Debug object.
Also, clean up extern/public variables.
2020-09-17 05:06:22 +03:00
d1e15190f4 tests: add machine configuration 005 from hidnplayr 2020-06-16 01:46:04 +03:00
5619ff2682 Fix logs for sf9 window size changes: width+1, height+1. 2020-06-11 23:52:43 +03:00
6f3117b665 Use slab allocator. 2020-06-05 21:24:57 +03:00
3e5a6ca3ed Fix construction of the path to PCI config files.
Change %u to %x in sprintf format string ><.
2020-05-22 10:20:32 +03:00
75654b6dbc Enable test 029_#acpi_m003.t: qemu -M q35. 2020-05-21 11:57:55 +03:00
8816634e90 Sync test logs. 2020-05-21 00:03:43 +03:00
aebe0c0e1f Enable test 028_#acpi_m002.t. 2020-05-20 23:06:23 +03:00
141ad32fac Sync logs with upstream. 2020-05-20 22:35:58 +03:00
b3020947af Add commands pci_{set,get}_path, add pci config files. 2020-05-20 17:54:58 +03:00
6cc26c6f55 Sync logs with upstream. 2020-05-20 15:02:06 +03:00
70551882a9 Add stub for ACPI unit tests. 2020-05-20 14:17:31 +03:00
b22d2aacf3 Add commands shell_acpi_{set,get}_usage, update test logs. 2020-05-20 14:13:20 +03:00
d995632e71 Update test logs for upstream fix. 2020-05-19 18:20:46 +03:00
5dbe6cb8f2 Replace NODE.Integer64 with NODE.Integer. 2020-05-19 13:52:05 +03:00
6f998c0a3a Make ACPI logs reproducible and add ACPI reference logs. 2020-05-18 22:07:53 +03:00
9abb53b2cd Add ACPI and PCI test files from real HW. 2020-05-18 16:20:17 +03:00
4585cd3d62 Fix ARP wrappers and add ARP test stub: test/025. 2020-05-12 02:35:22 +03:00
38a4a20b36 Initialize TASKDATA.pid field, this fixes test 016.
Also, rename disabled tests from *.t to *.d.
2020-05-12 01:01:33 +03:00
57fadae3dd Add background related functions; umka_os works. 2020-05-11 06:38:44 +03:00
aac2122c2c Add wrappers of f76 ARP functions. 2020-05-07 20:48:17 +03:00
728172f401 More network subfunctions of sf75 and sf76. 2020-05-07 04:08:20 +03:00
64ce1ee214 umka_shell: Add sf74 commands. 2020-05-07 00:33:32 +03:00
e481975a89 Include ACPI related code, add PCI wrapper. 2020-05-02 02:40:06 +03:00
26fd52621d Improve branch coverage for error-free cases.
Errors are mostly uncovered.
2020-03-12 00:51:48 +03:00
6179e7e614 New tests and images for coverage. Don't use sudo for mkfs. 2020-03-11 06:02:33 +03:00
70fc19fc5e Fix tests for reading past EOF. 2020-03-09 17:35:00 +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
349800ca54 Update unicode fs test, increase read buffer, clean macros. 2020-02-29 04:48: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
a83c4154f5 More wrappers, move uninitialized data to .bss section. 2020-02-09 04:48:16 +03:00
3175553eb7 Wrap set_skin, unpacker works now. 2020-02-08 21:48:12 +03:00
18edc67a10 Wrap sf9: process info. 2020-02-08 06:13:04 +03:00
4cf0d46fe6 More graphic and window functions and wrappers. 2020-02-07 05:26:27 +03:00
b23e29d6d1 Add wrappers to graphic syscalls. 2020-02-06 06:19:20 +03:00
750efc930a Move basic graphics to userspace! 2020-02-05 05:41:00 +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
98f8561ba1 Print total number of files in directory, add s4k test. 2019-11-11 05:20:06 +03:00
017bca9dee Dir lookup test. 2019-11-09 01:37:01 +03:00
f4bdf82811 Get rid of losetup, fix s05k_b2k_n8k tests, set name length for mkdirrange. 2019-11-08 05:22:07 +03:00
fa542ce8a1 Don't go into infinite loop on fs error, print file attributes as letters. 2019-11-07 02:51:55 +03:00
34cdc3ca09 Add ctime,atime,mtime printing. 2019-10-31 23:26:53 +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
cfdd6a2820 Implement disk_add, disk_del commands, fix tests. 2019-10-13 04:17:29 +03:00
1bb4c6f8d7 Collect coverage via LBR profiling. 2019-10-09 02:35:47 +03:00
6325dda0da Add read_all and read_range, update tests, fixes 2018-06-18 04:55:51 +03:00
bd2e078d13 Add tests, generate hdd images on the fly. 2018-05-19 18:50:15 +03:00
428e646336 Use libc calloc instead of own malloc stub. 2018-05-18 10:09:05 +03:00
2c3cd9c7c1 Add ranged ls and f70status enum. 2018-05-14 10:54:05 +03:00
cdcb61a47f Implement read command, add test/t_read. 2018-05-07 18:31:42 +03:00
9c7ebc5136 Use dyndisk KolibriOS code, add test prototypes. 2018-05-06 22:58:05 +03:00