commit: 66cf9baaae38c512f6cfe7166610cb47a9944016
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 12 19:38:26 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 12 19:39:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66cf9baa
eclass/tests: Add EAPI decls to fix running tests
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
eclass/tests/autotools_eaclocal_amflags.sh | 4 +++-
eclass/tests/flag-o-matic.sh | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/eclass/tests/autotools_eaclocal_amflags.sh
b/eclass/tests/autotools_eaclocal_amflags.sh
index b39f5420c31..f9f02bb7789 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 676cc690c75..dc8cfd375c1 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"