summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-05-12 21:38:26 +0200
committerMichał Górny <mgorny@gentoo.org>2021-05-12 21:39:03 +0200
commit66cf9baaae38c512f6cfe7166610cb47a9944016 (patch)
tree596fe078facd872f2671c8198a128ddabbad77cf /eclass
parentapp-metrics/node_exporter: co-maintain (diff)
downloadgentoo-66cf9baaae38c512f6cfe7166610cb47a9944016.tar.gz
gentoo-66cf9baaae38c512f6cfe7166610cb47a9944016.tar.bz2
gentoo-66cf9baaae38c512f6cfe7166610cb47a9944016.zip
eclass/tests: Add EAPI decls to fix running tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rwxr-xr-xeclass/tests/autotools_eaclocal_amflags.sh4
-rwxr-xr-xeclass/tests/flag-o-matic.sh4
2 files changed, 6 insertions, 2 deletions
diff --git a/eclass/tests/autotools_eaclocal_amflags.sh b/eclass/tests/autotools_eaclocal_amflags.sh
index b39f5420c31c..f9f02bb77893 100755
--- a/eclass/tests/autotools_eaclocal_amflags.sh
+++ b/eclass/tests/autotools_eaclocal_amflags.sh
@@ -1,9 +1,11 @@
#!/bin/bash
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
source tests-common.sh
+EAPI=7
+
inherit autotools
test-it() {
diff --git a/eclass/tests/flag-o-matic.sh b/eclass/tests/flag-o-matic.sh
index 676cc690c75c..dc8cfd375c1e 100755
--- a/eclass/tests/flag-o-matic.sh
+++ b/eclass/tests/flag-o-matic.sh
@@ -1,9 +1,11 @@
#!/bin/bash
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
source tests-common.sh
+EAPI=7
+
inherit flag-o-matic
CFLAGS="-a -b -c=1 --param l1-cache-size=32"