test/sandbox: guard on testtool tag
All checks were successful
Test / Hakurei (push) Successful in 40s
Test / Create distribution (push) Successful in 31s
Test / Hakurei (race detector) (push) Successful in 41s
Test / Planterette (push) Successful in 40s
Test / Sandbox (push) Successful in 1m30s
Test / Sandbox (race detector) (push) Successful in 1m43s
Test / Flake checks (push) Successful in 1m11s

This tool should not show up when building hakurei normally.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
Ophestra 2025-07-07 20:11:29 +09:00
parent c30dd4e630
commit 2b44493e8a
Signed by: cat
SSH Key Fingerprint: SHA256:gQ67O0enBZ7UdZypgtspB2FDM1g3GVw8nX0XSdcFw8Q
10 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,5 @@
//go:build testtool
/* /*
Package sandbox provides utilities for checking sandbox outcome. Package sandbox provides utilities for checking sandbox outcome.

View File

@ -1,3 +1,5 @@
//go:build testtool
package sandbox package sandbox
import ( import (

View File

@ -1,3 +1,5 @@
//go:build testtool
package sandbox package sandbox
import ( import (

View File

@ -1,3 +1,5 @@
//go:build testtool
package sandbox_test package sandbox_test
import ( import (

View File

@ -1,3 +1,5 @@
//go:build testtool
package sandbox package sandbox
/* /*

View File

@ -1,3 +1,5 @@
//go:build testtool
package sandbox_test package sandbox_test
import ( import (

View File

@ -1,3 +1,5 @@
//go:build testtool
package sandbox package sandbox
import ( import (

View File

@ -1,3 +1,5 @@
//go:build testtool
package sandbox package sandbox
import ( import (

View File

@ -1,3 +1,5 @@
//go:build testtool
package main package main
import ( import (

View File

@ -17,6 +17,8 @@ buildGoModule rec {
}; };
vendorHash = null; vendorHash = null;
tags = [ "testtool" ];
buildInputs = [ util-linux ]; buildInputs = [ util-linux ];
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];