xref: /aosp_15_r20/external/ltp/ci/alpine.sh (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker#!/bin/sh -eux
2*49cdfc7eSAndroid Build Coastguard Worker# SPDX-License-Identifier: GPL-2.0-or-later
3*49cdfc7eSAndroid Build Coastguard Worker# Copyright (c) 2019-2022 Petr Vorel <[email protected]>
4*49cdfc7eSAndroid Build Coastguard Worker
5*49cdfc7eSAndroid Build Coastguard Workerapk update
6*49cdfc7eSAndroid Build Coastguard Worker
7*49cdfc7eSAndroid Build Coastguard Workerapk add \
8*49cdfc7eSAndroid Build Coastguard Worker	acl-dev \
9*49cdfc7eSAndroid Build Coastguard Worker	asciidoc \
10*49cdfc7eSAndroid Build Coastguard Worker	asciidoctor \
11*49cdfc7eSAndroid Build Coastguard Worker	autoconf \
12*49cdfc7eSAndroid Build Coastguard Worker	automake \
13*49cdfc7eSAndroid Build Coastguard Worker	clang \
14*49cdfc7eSAndroid Build Coastguard Worker	gcc \
15*49cdfc7eSAndroid Build Coastguard Worker	git \
16*49cdfc7eSAndroid Build Coastguard Worker	keyutils-dev \
17*49cdfc7eSAndroid Build Coastguard Worker	libaio-dev \
18*49cdfc7eSAndroid Build Coastguard Worker	libacl \
19*49cdfc7eSAndroid Build Coastguard Worker	libcap-dev \
20*49cdfc7eSAndroid Build Coastguard Worker	libselinux-dev \
21*49cdfc7eSAndroid Build Coastguard Worker	libsepol-dev \
22*49cdfc7eSAndroid Build Coastguard Worker	libtirpc-dev \
23*49cdfc7eSAndroid Build Coastguard Worker	linux-headers \
24*49cdfc7eSAndroid Build Coastguard Worker	make \
25*49cdfc7eSAndroid Build Coastguard Worker	musl-dev \
26*49cdfc7eSAndroid Build Coastguard Worker	numactl-dev \
27*49cdfc7eSAndroid Build Coastguard Worker	openssl-dev \
28*49cdfc7eSAndroid Build Coastguard Worker	perl-json \
29*49cdfc7eSAndroid Build Coastguard Worker	pkgconfig
30*49cdfc7eSAndroid Build Coastguard Worker
31*49cdfc7eSAndroid Build Coastguard Workercat /etc/os-release
32*49cdfc7eSAndroid Build Coastguard Worker
33*49cdfc7eSAndroid Build Coastguard Workerecho "WARNING: remove unsupported tests (until they're fixed)"
34*49cdfc7eSAndroid Build Coastguard Workercd $(dirname $0)/..
35*49cdfc7eSAndroid Build Coastguard Workerrm -rfv \
36*49cdfc7eSAndroid Build Coastguard Worker	testcases/kernel/syscalls/fmtmsg/fmtmsg01.c \
37*49cdfc7eSAndroid Build Coastguard Worker	testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01.c \
38*49cdfc7eSAndroid Build Coastguard Worker	testcases/kernel/syscalls/timer_create/timer_create01.c \
39*49cdfc7eSAndroid Build Coastguard Worker	testcases/kernel/syscalls/timer_create/timer_create03.c
40*49cdfc7eSAndroid Build Coastguard Worker
41*49cdfc7eSAndroid Build Coastguard Workercd -
42