summaryrefslogtreecommitdiffstats
path: root/recipes-test/autotest/autotest.inc
blob: c9ac55e3eb0d8de317bba541a0d6f2eb7cd00918 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SUMMARY = "Autotest framework"
DESCRIPTION = "Autotest - fully automated testing under linux."
HOMEPAGE = "http://autotest.github.io"
SECTION = "console/tests"
LICENSE = "GPLv2 & BSD & LGPLv2+ & MIT"

SRC_URI = "https://github.com/autotest/autotest/archive/${PV}.tar.gz"

FILES_${PN} += "/opt /etc/profile.d/autotest.sh"

do_install() {
	install -d ${D}/opt/${PN}
	cp -r ${B}/* ${D}/opt/${PN}

  mkdir -p ${D}/etc/profile.d/
  echo "export AUTOTEST_PATH=/opt/${PN}" > ${D}/etc/profile.d/autotest.sh
}