CismonX
c1cf9db2a1
test: add tests for tags and keywords
2025-06-02 09:20:19 +08:00
CismonX
ab88e0e839
test: add tests for directory entries
2025-05-28 18:51:02 +08:00
CismonX
9c0d5fb337
test: improve filesystem tests
...
- Add a final check to see whether the fs daemon is still there.
- Other misc updates.
2025-04-07 19:32:44 +08:00
CismonX
52b7f87536
test: add tests for regular file read/write
2025-04-02 18:09:09 +08:00
CismonX
1e047a9331
test: misc refactor
...
- Move common defs and helper functions to check_util.h/check_utils.c.
- Add a prepare script argument for ATX_CHECK_FS* macros.
- ASSERT_EXPR_INT(): Use long int as expression result type.
- Other misc updates.
2025-04-01 22:01:44 +08:00
CismonX
1bbe928e50
test: add basic tests for filesystem
2025-03-29 15:20:04 +08:00
CismonX
44100f8852
test: add test harness for filesystem
2025-03-28 16:39:29 +08:00
CismonX
9da346753d
test: misc refactor
...
- Repeat simple tests that may fail upon multiple invocations.
- ...
2025-03-28 14:29:18 +08:00
CismonX
bced141b98
test: misc fix and refactor
...
- Do not exit with status 99. It is considered a "hard failure"
in Autotest, and cleanup script won't be executed.
- Fix ATX_FEAT_PREREQ().
- Remove unneeded helper macros.
- Add more log output.
2025-03-24 19:30:32 +08:00
CismonX
03b638408d
test: more comments and log output
2025-03-22 11:38:59 +08:00
CismonX
f6e3b743d1
build: rename autoconf helper macros
...
These macros are supposed to be reusable for other projects.
Also, a shorter name improves the readability of the config script.
2025-03-14 07:44:51 +08:00
CismonX
ca43bc6939
test: add tests for hashmap
2025-03-08 13:52:57 +08:00
CismonX
aed846b286
test: extract common prng helpers for future use
2025-03-08 13:50:47 +08:00
CismonX
29be925c92
test: ATX_FEAT_NAME -> ATX_FEAT_VAR
...
Since we're only using the feature variables in shell expansion,
using this form should make the testsuite code look cleaner.
2025-03-05 07:34:40 +08:00
CismonX
95121cb78f
test: add helper macro ATX_RUN
...
This is meant to be a workaround for a limitation of Autotest,
where `set -e` has no effect in AT_CHECK().
Also we don't want to use `trap ... ERR`, since it is not portable.
2025-03-05 07:01:34 +08:00
CismonX
9050d01fe4
test: add tests for sandbox
2025-03-04 12:05:17 +08:00
CismonX
3a0f435572
test: add tests for the file watcher
2025-03-01 11:23:42 +08:00
CismonX
5affe9ee02
test: misc updates
...
- Export feature variables for conditional testing.
- Add helper macros.
- Move helper shell functions from atlocal.in to testsuite.at.
The atlocal file should only contain feature variables.
- Update existing tests.
2025-02-20 11:11:10 +08:00
CismonX
08f0655721
test: init tests; add tests for util lib
...
- Init Autotest.
Not using DejaGNU since there won't be many interactive testing.
- Add basic test cases for the utility library (hash and prng).
2025-02-08 01:48:07 +08:00