Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id DDE0B782B28 for ; Mon, 25 Jan 2021 19:09:27 +0000 (UTC) Received: by mail-ej1-f54.google.com with SMTP id l9so19637021ejx.3 for ; Mon, 25 Jan 2021 11:09:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZUBq71t+MhdEEbAjmCg8Cc6mw99aff371zxZZju+f6o=; b=BcTXNdWTl7TPopkn1ie5nWBhLsKumtFaWtI5tc6cdA0/3YackqSAj/hXbrx05jt/aB lDSXzviW7Z5wxL67NhPq7rW0zLVuH1aNC3JGG3nXPOgh0yARlTZRi2bP9KrGuwIjypDv 0yRO9/t31duyv/DqXRPjFVIQp35+At0V3gMxW0AFK+MW5SdUf4HMXOcTHKnpoPp02+mK FRWDwoF0MJHYgGN4U4tmfYoE6UTndpKBtDgMOVrcru3+rDVaz9/EeQ6vUsE0NpEnAT62 1RkWVPVNy8qRtpuJn85O+STnfhPmilyHS1fI6c5BJ94Lhfnh2yttPF/mFt3kwwETQUZE CKmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZUBq71t+MhdEEbAjmCg8Cc6mw99aff371zxZZju+f6o=; b=r+peKTqKBBMfQz6qvsU6jbQi9HpRZ4H5xse2zjk+TuO/6rd/dOuFGQTabUnCXJOBtH mSXUPKoGOUs+VshnOXRoqhJFGd+k4KlL7x2LmOy3x9ySdu4pWIRHfO4SQ/yUaCNhhBOz DZpgnhvLv4oz5KdPhj0Ds3TDgzEhESuab1I2wa0l8qbCBOPOSEz2Pfo5vPpn87OqYDgB ZFC+kqt8WQCNoIGUndwj6A+3ovjf6ZnUFk5h5qKojPAIrIAhnPSKwbyLi2GZcF/7+bXj 9AhIvHDlKsidPeJhnwTkOvLnlSAYjr14m4DrirQmzkxy/avYIedtH5OnsO73C34v1qwC y+fA== X-Gm-Message-State: AOAM533rzYMdu7Pb9qUX4C6oUc4TouO8UcpG3T1tHLSDMX5LBBjzraUl Q46WsgPLoXLnhe8oQr1+IeYjPLmJcGcc2g== X-Google-Smtp-Source: ABdhPJwCtAxdJYCJxzuof+Az5LAR3M/TlD+Vk7H9Zns34eJeGPvy3HnBX/uL3+WX87IHRYuwyGIgng== X-Received: by 2002:a17:907:20d5:: with SMTP id qq21mr1280711ejb.340.1611601767519; Mon, 25 Jan 2021 11:09:27 -0800 (PST) Received: from localhost.localdomain ([62.201.25.198]) by smtp.gmail.com with ESMTPSA id hs18sm8395357ejc.45.2021.01.25.11.09.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jan 2021 11:09:26 -0800 (PST) From: Petr Vorel To: alpine-aports@lists.alpinelinux.org Cc: Petr Vorel , maxice8 Subject: [PATCH v2 1/1] testing/linux-test-project: new aport Date: Mon, 25 Jan 2021 20:09:21 +0100 Message-Id: <20210125190921.151669-1-petr.vorel@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Vorel --- Changes v1->v2: * update title to testing to reflect directory Kind regards, Petr testing/linux-test-project/APKBUILD | 79 +++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 testing/linux-test-project/APKBUILD diff --git a/testing/linux-test-project/APKBUILD b/testing/linux-test-project/APKBUILD new file mode 100644 index 0000000000..e8bd718b90 --- /dev/null +++ b/testing/linux-test-project/APKBUILD @@ -0,0 +1,79 @@ +# Contributor: Petr Vorel +# Maintainer: Petr Vorel +pkgname=ltp-full +pkgver=20210121 +pkgrel=0 +pkgdesc="The Linux Test Project" +url="http://linux-test-project.github.io" +arch="all" +license="GPL-2.0-or-later" +depends=" + acl + attr + bc + binutils + e2fsprogs + iputils + iproute2 +" +depends_dev=" + acl-dev + autoconf + automake + bison + flex + gcc + keyutils-dev + libaio-dev + libacl + libcap-dev + libselinux-dev + libsepol-dev + libtirpc-dev + linux-headers + make + musl-dev + numactl-dev + openssl-dev + pkgconfig +" +makedepends="$depends_dev" +options="!check" # no tests +subpackages="$pkgname-dev $pkgname-doc" +source="https://github.com/linux-test-project/ltp/releases/download/$pkgver/ltp-full-$pkgver.tar.xz" +builddir="$srcdir/ltp-full-$pkgver" + +prepare() { + default_prepare + + # https://github.com/linux-test-project/ltp/blob/master/travis/alpine.sh + cd "$builddir" + rm -rf \ + testcases/kernel/sched/process_stress/process.c \ + testcases/kernel/syscalls/confstr/confstr01.c \ + testcases/kernel/syscalls/fmtmsg/fmtmsg01.c \ + testcases/kernel/syscalls/getcontext/getcontext01.c \ + testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01.c \ + testcases/kernel/syscalls/timer_create/timer_create01.c \ + testcases/kernel/syscalls/timer_create/timer_create03.c \ + utils/benchmark/ebizzy-0.3 + cd - +} + +build() { + LEXLIB=-lfl \ + ./configure \ + --with-realtime-testsuite \ + --with-open-posix-testsuite \ + --disable-metadata \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr + make V=1 +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="382e4b851138805f58093bc8232df5d22f9cf64ffa110bbaa5c5637517c47663772b96c55eca172f447bee7d1a1fb29084660c5374c4042461c59ba8faab3101 ltp-full-20210121.tar.xz" -- 2.28.0