tests/thirdparty: use Suite type for configuration (#285)

This commit is contained in:
Michael McLoughlin
2022-05-08 16:55:51 -07:00
committed by GitHub
parent 5e6971cc7a
commit 62c71109a4
13 changed files with 927 additions and 911 deletions

View File

@@ -3,9 +3,9 @@
# Generate some specific files with docgen.
go install ./internal/cmd/docgen
prjs="tests/thirdparty/projects.json"
docgen -prjs "${prjs}" -type readme -output README.md
docgen -prjs "${prjs}" -type adopters -output doc/adopters.md
suite="tests/thirdparty/suite.json"
docgen -suite "${suite}" -type readme -output README.md
docgen -suite "${suite}" -type adopters -output doc/adopters.md
# Process simple file embeddings with embedmd.
find . -name '*.md' | xargs embedmd -w

View File

@@ -1,4 +1,4 @@
#!/bin/bash -ex
# Run metadata test in update mode.
go test ./tests/thirdparty/ -v -run Metadata -args -update -prjs projects.json -net
go test ./tests/thirdparty/ -v -run Metadata -args -update -suite suite.json -net