diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-11-23 18:10:54 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-11-23 18:10:54 +0900 |
| commit | 4d31e3fc36bb6fad04b121ff59f31ad9ea7bd418 (patch) | |
| tree | 828fd0496ab3e3a228ce28fda106233474764ce6 /internal | |
| parent | 4299fb68b467773aa93d3985e100a87becb2e38e (diff) | |
all: support testing via qemu
This adds the qemu build tag which disables tests unsupported on QEMU.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/dbus/dbus_test.go | 2 | ||||
| -rw-r--r-- | internal/helper/args_test.go | 2 | ||||
| -rw-r--r-- | internal/helper/cmd_test.go | 2 | ||||
| -rw-r--r-- | internal/helper/container_test.go | 2 | ||||
| -rw-r--r-- | internal/helper/helper_test.go | 2 | ||||
| -rw-r--r-- | internal/lockedfile/internal/filelock/filelock_test.go | 2 | ||||
| -rw-r--r-- | internal/lockedfile/lockedfile_test.go | 2 | ||||
| -rw-r--r-- | internal/lockedfile/transform_test.go | 2 |
8 files changed, 13 insertions, 3 deletions
diff --git a/internal/dbus/dbus_test.go b/internal/dbus/dbus_test.go index f6175567..22126e3f 100644 --- a/internal/dbus/dbus_test.go +++ b/internal/dbus/dbus_test.go @@ -1,3 +1,5 @@ +//go:build !qemu + package dbus_test import ( diff --git a/internal/helper/args_test.go b/internal/helper/args_test.go index c83c6790..16ce2a36 100644 --- a/internal/helper/args_test.go +++ b/internal/helper/args_test.go @@ -1,3 +1,5 @@ +//go:build !qemu + package helper_test import ( diff --git a/internal/helper/cmd_test.go b/internal/helper/cmd_test.go index 3d29479c..7dfabe57 100644 --- a/internal/helper/cmd_test.go +++ b/internal/helper/cmd_test.go @@ -1,3 +1,5 @@ +//go:build !qemu + package helper_test import ( diff --git a/internal/helper/container_test.go b/internal/helper/container_test.go index 02dc5346..9703bf82 100644 --- a/internal/helper/container_test.go +++ b/internal/helper/container_test.go @@ -1,3 +1,5 @@ +//go:build !qemu + package helper_test import ( diff --git a/internal/helper/helper_test.go b/internal/helper/helper_test.go index a44d5ede..ec6bcf45 100644 --- a/internal/helper/helper_test.go +++ b/internal/helper/helper_test.go @@ -1,3 +1,5 @@ +//go:build !qemu + package helper_test import ( diff --git a/internal/lockedfile/internal/filelock/filelock_test.go b/internal/lockedfile/internal/filelock/filelock_test.go index a545010d..9a26f7fc 100644 --- a/internal/lockedfile/internal/filelock/filelock_test.go +++ b/internal/lockedfile/internal/filelock/filelock_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build !js && !plan9 && !wasip1 +//go:build !qemu && !js && !plan9 && !wasip1 package filelock_test diff --git a/internal/lockedfile/lockedfile_test.go b/internal/lockedfile/lockedfile_test.go index c86b7786..38c57848 100644 --- a/internal/lockedfile/lockedfile_test.go +++ b/internal/lockedfile/lockedfile_test.go @@ -4,7 +4,7 @@ // js and wasip1 do not support inter-process file locking. // -//go:build !js && !wasip1 +//go:build !qemu && !js && !wasip1 package lockedfile_test diff --git a/internal/lockedfile/transform_test.go b/internal/lockedfile/transform_test.go index 95807493..7c93a0a8 100644 --- a/internal/lockedfile/transform_test.go +++ b/internal/lockedfile/transform_test.go @@ -4,7 +4,7 @@ // js and wasip1 do not support inter-process file locking. // -//go:build !js && !wasip1 +//go:build !qemu && !js && !wasip1 package lockedfile_test |
