diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-01 22:34:51 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-02 18:10:05 +0900 |
| commit | 8ddc826bd02ff0d58123e1af5de2f48ae0dbc7c9 (patch) | |
| tree | 74d13485a177c442154a4c343062efa128dc1ab2 /internal/workflows/test.go | |
| parent | 4b19686109b0962ea68dfe58feafffe3bac9c202 (diff) | |
test/sandbox: migrate tests
This benefits even more than the cmd/sharefs test suite, the slow
python-based test script was a major bottleneck. Replacing the
nix-represented test cases with compound literals also significantly
increases readability.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/workflows/test.go')
| -rw-r--r-- | internal/workflows/test.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/internal/workflows/test.go b/internal/workflows/test.go index d3290f16..37f41e51 100644 --- a/internal/workflows/test.go +++ b/internal/workflows/test.go @@ -82,12 +82,7 @@ var _ = (&Workflow{ "setuid=1023,setgid=1023 /sdcard", }, - { - Name: "Compile and run test suite", - Run: "sharefs -V && rm -rf result && " + - "go run -tags=testsuite ./test/sharefs ubuntu", - }, - + newTestsuite("sharefs", "sharefs -V && "), newUploadArtifact("test output", "fs_mark"), }, }}, |
