1#!/bin/sh 2# Copyright (c) 2019 Petr Vorel <petr.vorel@gmail.com> 3set -e 4 5apk update 6 7apk add \ 8 acl-dev \ 9 autoconf \ 10 automake \ 11 clang \ 12 gcc \ 13 keyutils-dev \ 14 libaio-dev \ 15 libacl \ 16 libcap-dev \ 17 libselinux-dev \ 18 libsepol-dev \ 19 libtirpc-dev \ 20 linux-headers \ 21 make \ 22 musl-dev \ 23 numactl-dev \ 24 openssl-dev \ 25 pkgconfig 26 27echo "=== /etc/os-release ===" 28cat /etc/os-release 29 30echo "WARNING: remove unsupported tests (until they're fixed)" 31cd .. 32rm -rfv \ 33 testcases/kernel/pty/pty01.c \ 34 testcases/kernel/pty/pty02.c \ 35 testcases/kernel/pty/ptem01.c \ 36 testcases/kernel/sched/process_stress/process.c \ 37 testcases/kernel/syscalls/accept4/accept4_01.c \ 38 testcases/kernel/syscalls/confstr/confstr01.c \ 39 testcases/kernel/syscalls/fmtmsg/fmtmsg01.c \ 40 testcases/kernel/syscalls/getcontext/getcontext01.c \ 41 testcases/kernel/syscalls/getdents/getdents01.c \ 42 testcases/kernel/syscalls/getdents/getdents02.c \ 43 testcases/kernel/syscalls/ioctl/ioctl01.c \ 44 testcases/kernel/syscalls/ioctl/ioctl02.c \ 45 testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01.c \ 46 testcases/kernel/syscalls/sched_getaffinity/sched_getaffinity01.c \ 47 testcases/kernel/syscalls/timer_create/timer_create01.c \ 48 testcases/kernel/syscalls/timer_create/timer_create03.c \ 49 testcases/misc/crash/crash01.c \ 50 utils/benchmark/ebizzy-0.3 51cd - 52