sharlatan pushed a commit to branch go-team
in repository guix.
commit a7ed9217b7bdd1c4c234e370666b9d0fe680fd70
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Dec 28 22:48:06 2024 +0000
gnu: go-github-com-rakyll-statik: Skip some tests.
* gnu/packages/golang.scm (go-github-com-rakyll-statik) [arguments]
<test-flags>: Skip 5 tests.
Change-Id: Id02cf2a6ab916e62c125da9dc6edc78b905a03dd
---
gnu/packages/golang.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f62cc66944..508555986d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2139,7 +2139,18 @@ for speed on short messages.")
"fmt.Print(helpText + \"\\n\")"))))))
(build-system go-build-system)
(arguments
- `(#:import-path "github.com/rakyll/statik"))
+ (list
+ #:import-path "github.com/rakyll/statik"
+ #:test-flags
+ #~(list "-skip"
+ (string-join
+ (list
+ "TestOpen/Files_should_retain_their_original_file*"
+ "TestOpen/Images_should_successfully_unpack"
+ "TestOpen/'index.html'_files_should_be_returned*"
+ "TestOpen/listed_all_sub_directories_in_deep_directory"
+ "TestOpen/Paths_containing_dots_should_be_properly_sanitized")
+ "|"))))
(home-page "https://github.com/rakyll/statik/")
(synopsis "Embed files into a Go executable")
(description "Statik allows you to embed a directory of static files into