xref: /freebsd/release/packages/ucl/tests.ucl (revision 0c90c9ad4649789feec86c776674491c35cc7e27)
1957715f8SLexi Winter/*
2957715f8SLexi Winter * SPDX-License-Identifier: ISC
3957715f8SLexi Winter *
4957715f8SLexi Winter * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org>
5957715f8SLexi Winter *
6957715f8SLexi Winter * Permission to use, copy, modify, and distribute this software for any
7957715f8SLexi Winter * purpose with or without fee is hereby granted, provided that the above
8957715f8SLexi Winter * copyright notice and this permission notice appear in all copies.
9957715f8SLexi Winter *
10957715f8SLexi Winter * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11957715f8SLexi Winter * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12957715f8SLexi Winter * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13957715f8SLexi Winter * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14957715f8SLexi Winter * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15957715f8SLexi Winter * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16957715f8SLexi Winter * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17957715f8SLexi Winter */
18957715f8SLexi Winter
19957715f8SLexi Winter
20957715f8SLexi Winterdeps {
21*0c90c9adSLexi Winter	# Nearly all the tests require atf to run.
22*0c90c9adSLexi Winter	"atf": {
23*0c90c9adSLexi Winter		version = "${VERSION}"
24*0c90c9adSLexi Winter	},
25*0c90c9adSLexi Winter
26957715f8SLexi Winter	# Quite a few tests require flua.
27957715f8SLexi Winter	"flua" {
28957715f8SLexi Winter		version = "${VERSION}"
29957715f8SLexi Winter	},
30*0c90c9adSLexi Winter
31*0c90c9adSLexi Winter	# Some tests need GoogleTest
32*0c90c9adSLexi Winter	"googletest": {
33*0c90c9adSLexi Winter		version = "${VERSION}"
34*0c90c9adSLexi Winter	},
35*0c90c9adSLexi Winter
36*0c90c9adSLexi Winter	# The test framework requires Kyua.
37*0c90c9adSLexi Winter	"kyua": {
38*0c90c9adSLexi Winter		version = "${VERSION}"
39*0c90c9adSLexi Winter	},
40*0c90c9adSLexi Winter
41*0c90c9adSLexi Winter	# Since the purpose of the tests is to test the base system, the base
42*0c90c9adSLexi Winter	# system must be installed.
43*0c90c9adSLexi Winter	"set-base": {
44*0c90c9adSLexi Winter		version = "${VERSION}"
45957715f8SLexi Winter	}
46*0c90c9adSLexi Winter}
47