From 05bea3e922aa7aec5cba3242d3f34b5c10fad24e Mon Sep 17 00:00:00 2001 From: Levente Polyak Date: Mon, 4 Mar 2024 23:37:49 +0100 Subject: test: add basic bats setup and test cases for `version setup` Signed-off-by: Levente Polyak --- .../version/setup/gitlab-git-multi-group/PKGBUILD | 30 ++++++++++++++++++++++ .../gitlab-git-multi-group/nvchecker.assert.toml | 3 +++ 2 files changed, 33 insertions(+) create mode 100644 test/fixture/version/setup/gitlab-git-multi-group/PKGBUILD create mode 100644 test/fixture/version/setup/gitlab-git-multi-group/nvchecker.assert.toml (limited to 'test/fixture/version/setup/gitlab-git-multi-group') diff --git a/test/fixture/version/setup/gitlab-git-multi-group/PKGBUILD b/test/fixture/version/setup/gitlab-git-multi-group/PKGBUILD new file mode 100644 index 0000000..1e2d35b --- /dev/null +++ b/test/fixture/version/setup/gitlab-git-multi-group/PKGBUILD @@ -0,0 +1,30 @@ +pkgbase=kicad-library +pkgname=($pkgbase{,-3d}) +pkgver=7.0.10 +pkgrel=1 +pkgdesc='Assorted libraries for KiCad' +arch=('any') +url='http://kicad.org/' +license=('GPL') +makedepends=('git' 'cmake') +options=('!strip') +source=( + 'git+https://gitlab.com/kicad/libraries/kicad-packages3D.git#commit=f1af95360976e66472b13897a1f3f5c2a77c0461' + 'git+https://gitlab.com/kicad/libraries/kicad-symbols.git#commit=5efa35abf67b4734a8e04cf83e31514be3329ce4' + 'git+https://gitlab.com/kicad/libraries/kicad-templates.git#commit=ff6e3193e6ff6029f65e7cce8ab39fafeafecdd6' + 'git+https://gitlab.com/kicad/libraries/kicad-footprints.git#commit=9fb460d078b55f2bb08c459cddd184833a853167' +) +sha512sums=('SKIP' + 'SKIP' + 'SKIP' + 'SKIP') + +package_kicad-library() { + : +} + +package_kicad-library-3d() { + : +} + +# vim:set ts=2 sw=2 et: diff --git a/test/fixture/version/setup/gitlab-git-multi-group/nvchecker.assert.toml b/test/fixture/version/setup/gitlab-git-multi-group/nvchecker.assert.toml new file mode 100644 index 0000000..c8e7186 --- /dev/null +++ b/test/fixture/version/setup/gitlab-git-multi-group/nvchecker.assert.toml @@ -0,0 +1,3 @@ +[kicad-library] +source = "git" +git = "https://gitlab.com/kicad/libraries/kicad-packages3D.git" -- cgit v1.2.3-70-g09d2