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 --- .../PKGBUILD | 24 ++++++++++++++++++++++ .../nvchecker.assert.toml | 4 ++++ 2 files changed, 28 insertions(+) create mode 100644 test/fixture/version/setup/gitlab-tarball-multi-group-as-platform/PKGBUILD create mode 100644 test/fixture/version/setup/gitlab-tarball-multi-group-as-platform/nvchecker.assert.toml (limited to 'test/fixture/version/setup/gitlab-tarball-multi-group-as-platform') diff --git a/test/fixture/version/setup/gitlab-tarball-multi-group-as-platform/PKGBUILD b/test/fixture/version/setup/gitlab-tarball-multi-group-as-platform/PKGBUILD new file mode 100644 index 0000000..4a40842 --- /dev/null +++ b/test/fixture/version/setup/gitlab-tarball-multi-group-as-platform/PKGBUILD @@ -0,0 +1,24 @@ +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=( + https://gitlab.com/kicad/libraries/kicad-packages3D/-/archive/8.0.0/kicad-packages3D-8.0.0.tar.gz +) +sha512sums=('SKIP') + +package_kicad-library() { + : +} + +package_kicad-library-3d() { + : +} + +# vim:set ts=2 sw=2 et: diff --git a/test/fixture/version/setup/gitlab-tarball-multi-group-as-platform/nvchecker.assert.toml b/test/fixture/version/setup/gitlab-tarball-multi-group-as-platform/nvchecker.assert.toml new file mode 100644 index 0000000..d2cf1b1 --- /dev/null +++ b/test/fixture/version/setup/gitlab-tarball-multi-group-as-platform/nvchecker.assert.toml @@ -0,0 +1,4 @@ +[kicad-library] +source = "gitlab" +gitlab = "kicad/libraries/kicad-packages3D" +use_max_tag = true -- cgit v1.2.3-70-g09d2