aboutsummaryrefslogtreecommitdiff
path: root/testing
Commit message (Collapse)AuthorAgeFilesLines
* testing/docker: Document policyChris Packham2022-05-151-0/+8
| | | | | | | Some useful suggestions were made in commit 5411e69b ("Update the docker containers"). This captures them in a more visible place. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* testing/docker: Add ubuntu:22.04Chris Packham2022-05-151-1/+1
| | | | | | Add ubuntu:22.04 remove ubuntu:21.10. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* testing/docker: Add meson and ninja to containersChris Packham2022-04-214-4/+5
| | | | | | meson and ninja are needed to build picolibc. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Update the docker containersAlexey Neyman2022-02-1113-51/+45
| | | | | | | | | | | | | | | | | | | | | | To avoid proliferation of versions, I suggest the following policy: the oldest LTS release still receiving maintenance updates + the most recent release for distributions that offer LTS releases. For CentOS, this means CentOS7 and CentOS Stream 9 (since CentOS are all "long-term support", this is just the oldest and the newest among currently supported). For Ubuntu, this means Ubuntu 18.04 (previous LTS are in "security fixes only" mode) and Ubuntu 21.10. Recent Ubuntu attempts to be interactive during the configuration of tzdata, required some additional setup. In the common installation script, the logic for handling a configured/built local directory breaks if `gmake` is detected as the make binary; `make distclean` then fails inside the container because not all systems have `gmake` symlink. Remove that attempt of a workaround completely, just require that the host directory is clean. Signed-off-by: Alexey Neyman <stilor@att.net>
* testing: docker: Use archlinux:latest instead of archlinux/base:latestChris Packham2021-06-081-1/+1
| | | | | | | | | The name of the docker images have changed on docker hub. Update the name used to point to the official archlinux image. Fixes #1522 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Add rsync dependencyChris Packham2020-06-098-8/+8
| | | | | | | Recent Linux kernels (5.3 and newer) use rsync to copy headers around. Add the rsync package to the list of dependencies. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* testing/docker: set default value for CTNG_UID/CTNG_GIDChris Packham2020-02-1710-20/+20
| | | | | | | | | | Make the creation of docker images easier so that CTNG_UID/CTNG_GID have a default value if it's not explicitly specified when building. This will allow publishing of images on various package repositories (e.g. docker hub, gitlab containers). dmgr.sh can still be used to set the UID/GID to that of the current user when building a custom container. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Ignore trailing / in container nameAlexey Neyman2020-02-031-1/+1
| | | | | | | ... so that it is possible to use tab completion when selecting the container to use. Signed-off-by: Alexey Neyman <stilor@att.net>
* Replace Ubuntu 19.04 with 19.10.Alexey Neyman2020-02-031-2/+2
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Replace Ubuntu 18.10 with Ubuntu 19.04Alexey Neyman2019-10-011-2/+2
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Install python3, needed by recent GLIBCAlexey Neyman2019-04-103-3/+3
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Install python3 in MintAlexey Neyman2019-03-171-1/+1
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Install python3 on Fedora29Alexey Neyman2019-03-151-1/+1
| | | | | | GDB doesn't accept older 2.x as a valid choice. Signed-off-by: Alexey Neyman <stilor@att.net>
* Note the experimental status of AlpineAlexey Neyman2019-03-151-0/+11
| | | | | | I don't have the time to fix all the various breakages it shows. Signed-off-by: Alexey Neyman <stilor@att.net>
* Use fedora29 as a referenceAlexey Neyman2019-03-141-1/+1
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Move GDB build into a common backend functionAlexey Neyman2019-03-092-8/+2579
| | | | | | | ... needed to create a common runtime test for an incompatible change in glibc API. Signed-off-by: Alexey Neyman <stilor@att.net>
* Centos6 also needs python3Alexey Neyman2019-03-041-1/+2
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Detect errors in each container if running an actionAlexey Neyman2019-03-021-2/+22
| | | | | | ... in more than one; then complain at the end. Signed-off-by: Alexey Neyman <stilor@att.net>
* Install Python3 from EPEL on CentOS7Alexey Neyman2019-03-021-1/+3
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Allow already configured directoriesAlexey Neyman2019-02-281-1/+19
| | | | | | ... while building in docker Signed-off-by: Alexey Neyman <stilor@att.net>
* Centos6 wasn't able to su into `ctng' userAlexey Neyman2019-02-281-0/+2
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Seems like ArchLinux renamed its base on dockerhubAlexey Neyman2019-02-281-3/+2
| | | | | | ... awhile ago; I had it cached on one machine. Signed-off-by: Alexey Neyman <stilor@att.net>
* Archlinux: update keyring before packagesAlexey Neyman2019-02-281-0/+2
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add a Dockerfile for Alpine Linux 3.8Alexey Neyman2019-02-223-2/+18
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add test if kconfig file version needs to be bumpedAlexey Neyman2019-02-064-0/+5851
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add a few tests to upgrade testsuiteAlexey Neyman2019-02-069-0/+4021
| | | | | | | | ... coverage not complete, but pretty diverse and covers most non-trivial conversions. PRs with better coverage for 1.23.o options welcome. Signed-off-by: Alexey Neyman <stilor@att.net>
* Start a testsuite for upgrade scriptAlexey Neyman2019-02-052-0/+118
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix building archlinux imageAlexey Neyman2019-01-141-2/+2
| | | | | | | `groupadd` now requires libaudit.so, but coreutils can be installed without audit package. Weird, gross. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add g++ for Ubuntu dockersAlexey Neyman2018-10-283-6/+6
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* More docker filesAlexey Neyman2018-10-285-1/+54
| | | | | | ... for reference OSes Signed-off-by: Alexey Neyman <stilor@att.net>
* Change the layout a bitAlexey Neyman2018-10-289-20/+37
| | | | | | | ... to a more natural installation paths, and also include ct-ng into $PATH in the containers. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add libtool to CentOS6 docker configurationAlexey Neyman2018-10-271-1/+1
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add CentOS7 docker configurationAlexey Neyman2018-10-221-0/+10
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add the workaround for kconfig colors in archlinuxAlexey Neyman2018-10-091-0/+1
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add wgetAlexey Neyman2018-10-061-1/+1
| | | | | | ... so that Docker image creation can fetch dumb-init. Signed-off-by: Alexey Neyman <stilor@att.net>
* Make dockerfiles a bit more consistentAlexey Neyman2018-09-2810-39/+71
| | | | | | | | ... and add Mint 19 and CentOS 6. The latter currently fails in ctng's configure due to an old libtool; need to make libtool optional. Signed-off-by: Alexey Neyman <stilor@att.net>
* Use 'chmod a-x' instead of 'chmod -x'Alexey Neyman2018-09-263-3/+3
| | | | | | | | | | | | | There is a subtle difference when executable bit is a part of the umask. And at least some versions (Debian/stretch) fail if the resulting mode would've been different if not for the umask setting. Fixes #998. Although, with such chmods/umasks it is likely that some package installation will break anyway. But I'll leave it until somebody complains. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add the ability to run some but not all samples in dockerAlexey Neyman2018-04-293-17/+47
| | | | | | | | Also, build containers with --no-cache: distributions like ArchLinux retire their packages very quickly, need to always use up-to-date package databases. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add unzip to ArchLinux docker imageAlexey Neyman2018-04-291-1/+1
| | | | | | Needed by android sample. Signed-off-by: Alexey Neyman <stilor@att.net>
* Update helpAlexey Neyman2018-04-291-1/+4
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add docker testing for GentooAlexey Neyman2018-04-293-1/+9
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Testing works for archlinux dockerAlexey Neyman2018-04-154-12/+16
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* First stab at docker-based test frameworkAlexey Neyman2018-04-155-0/+143
Signed-off-by: Alexey Neyman <stilor@att.net>