2017-02-14 00:23:03 +01:00
|
|
|
# Configuration for Gitlab-CI.
|
|
|
|
# Builds appear on https://gitlab.com/buildroot.org/buildroot/pipelines
|
|
|
|
# The .gitlab-ci.yml file is generated from .gitlab-ci.yml.in.
|
|
|
|
# It needs to be regenerated every time a defconfig is added, using
|
|
|
|
# "make .gitlab-ci.yml".
|
|
|
|
|
2018-03-31 01:10:55 +02:00
|
|
|
image: buildroot/base:20180318.1724
|
2017-02-14 00:23:03 +01:00
|
|
|
|
|
|
|
.defconfig_script: &defconfig_script
|
|
|
|
- echo 'Configure Buildroot'
|
2017-10-23 16:26:14 +02:00
|
|
|
- make ${CI_JOB_NAME}
|
2017-02-14 00:23:03 +01:00
|
|
|
- echo 'Build buildroot'
|
|
|
|
- |
|
|
|
|
make > >(tee build.log |grep '>>>') 2>&1 || {
|
|
|
|
echo 'Failed build last output'
|
|
|
|
tail -200 build.log
|
|
|
|
exit 1
|
|
|
|
}
|
|
|
|
|
|
|
|
check-gitlab-ci.yml:
|
|
|
|
script:
|
|
|
|
- mv .gitlab-ci.yml .gitlab-ci.yml.orig
|
|
|
|
- make .gitlab-ci.yml
|
|
|
|
- diff -u .gitlab-ci.yml.orig .gitlab-ci.yml
|
|
|
|
|
2017-06-30 18:42:53 +02:00
|
|
|
check-DEVELOPERS:
|
2017-07-01 20:22:27 +02:00
|
|
|
# get-developers should print just "No action specified"; if it prints
|
|
|
|
# anything else, it's a parse error.
|
|
|
|
# The initial ! is removed by YAML so we need to quote it.
|
2017-06-30 18:42:53 +02:00
|
|
|
script:
|
2017-07-01 20:22:27 +02:00
|
|
|
- "! utils/get-developers | grep -v 'No action specified'"
|
2017-06-30 18:42:53 +02:00
|
|
|
|
2018-03-13 04:09:44 +01:00
|
|
|
check-flake8:
|
|
|
|
before_script:
|
|
|
|
# Help flake8 to find the Python files without .py extension.
|
|
|
|
- find * -type f -name '*.py' > files.txt
|
|
|
|
- find * -type f -print0 | xargs -0 file | grep 'Python script' | cut -d':' -f1 >> files.txt
|
|
|
|
- sort -u files.txt | tee files.processed
|
|
|
|
script:
|
|
|
|
- python -m flake8 --statistics --count $(cat files.processed)
|
|
|
|
after_script:
|
|
|
|
- wc -l files.processed
|
|
|
|
|
2017-11-30 00:08:45 +01:00
|
|
|
check-package:
|
|
|
|
script:
|
2018-04-01 07:08:50 +02:00
|
|
|
- find . -type f \( -name '*.mk' -o -name '*.hash' -o -name 'Config.*' \)
|
|
|
|
-exec ./utils/check-package {} +
|
2017-11-30 00:08:45 +01:00
|
|
|
|
2017-02-14 00:23:03 +01:00
|
|
|
.defconfig: &defconfig
|
|
|
|
# Running the defconfigs for every push is too much, so limit to
|
|
|
|
# explicit triggers through the API.
|
|
|
|
only:
|
|
|
|
- triggers
|
|
|
|
- tags
|
|
|
|
script: *defconfig_script
|
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
expire_in: 2 weeks
|
|
|
|
paths:
|
|
|
|
- build.log
|
|
|
|
- output/images/
|
|
|
|
- output/build/build-time.log
|
|
|
|
- output/build/packages-file-list.txt
|
|
|
|
|
2017-07-02 18:13:22 +02:00
|
|
|
.runtime_test: &runtime_test
|
2017-07-30 06:49:43 +02:00
|
|
|
# Keep build directories so the rootfs can be an artifact of the job. The
|
|
|
|
# runner will clean up those files for us.
|
2017-08-05 04:05:20 +02:00
|
|
|
# Multiply every emulator timeout by 10 to avoid sporadic failures in
|
|
|
|
# elastic runners.
|
2017-10-23 16:26:14 +02:00
|
|
|
script: ./support/testing/run-tests -o test-output/ -d test-dl/ -k --timeout-multiplier 10 ${CI_JOB_NAME}
|
2017-07-02 18:13:22 +02:00
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
expire_in: 2 weeks
|
|
|
|
paths:
|
|
|
|
- test-output/*.log
|
2017-12-20 15:19:33 +01:00
|
|
|
- test-output/*/.config
|
2017-07-30 06:49:43 +02:00
|
|
|
- test-output/*/images/*
|
2017-02-14 00:23:03 +01:00
|
|
|
acmesystems_aria_g25_128mb_defconfig: *defconfig
|
|
|
|
acmesystems_aria_g25_256mb_defconfig: *defconfig
|
|
|
|
acmesystems_arietta_g25_128mb_defconfig: *defconfig
|
|
|
|
acmesystems_arietta_g25_256mb_defconfig: *defconfig
|
2018-01-30 13:03:53 +01:00
|
|
|
amarula_vyasa_rk3288_defconfig: *defconfig
|
2018-03-15 22:07:49 +01:00
|
|
|
arcturus_ucls1012a_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
arcturus_ucp1020_defconfig: *defconfig
|
|
|
|
arm_foundationv8_defconfig: *defconfig
|
|
|
|
arm_juno_defconfig: *defconfig
|
|
|
|
armadeus_apf27_defconfig: *defconfig
|
|
|
|
armadeus_apf28_defconfig: *defconfig
|
|
|
|
armadeus_apf51_defconfig: *defconfig
|
2018-01-30 13:03:55 +01:00
|
|
|
asus_tinker_rk3288_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
at91sam9260eknf_defconfig: *defconfig
|
|
|
|
at91sam9g20dfc_defconfig: *defconfig
|
|
|
|
at91sam9g45m10ek_defconfig: *defconfig
|
|
|
|
at91sam9rlek_defconfig: *defconfig
|
|
|
|
at91sam9x5ek_defconfig: *defconfig
|
2016-11-03 15:08:38 +01:00
|
|
|
at91sam9x5ek_dev_defconfig: *defconfig
|
|
|
|
at91sam9x5ek_mmc_defconfig: *defconfig
|
|
|
|
at91sam9x5ek_mmc_dev_defconfig: *defconfig
|
2017-10-06 23:41:32 +02:00
|
|
|
atmel_sama5d27_som1_ek_mmc_dev_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
atmel_sama5d2_xplained_mmc_defconfig: *defconfig
|
|
|
|
atmel_sama5d2_xplained_mmc_dev_defconfig: *defconfig
|
|
|
|
atmel_sama5d3_xplained_defconfig: *defconfig
|
|
|
|
atmel_sama5d3_xplained_dev_defconfig: *defconfig
|
|
|
|
atmel_sama5d3_xplained_mmc_defconfig: *defconfig
|
|
|
|
atmel_sama5d3_xplained_mmc_dev_defconfig: *defconfig
|
|
|
|
atmel_sama5d3xek_defconfig: *defconfig
|
|
|
|
atmel_sama5d4_xplained_defconfig: *defconfig
|
|
|
|
atmel_sama5d4_xplained_dev_defconfig: *defconfig
|
|
|
|
atmel_sama5d4_xplained_mmc_defconfig: *defconfig
|
|
|
|
atmel_sama5d4_xplained_mmc_dev_defconfig: *defconfig
|
2017-10-19 11:45:23 +02:00
|
|
|
bananapi_m1_defconfig: *defconfig
|
2017-09-23 20:51:46 +02:00
|
|
|
bananapi_m2_plus_defconfig: *defconfig
|
2017-12-20 10:53:30 +01:00
|
|
|
bananapi_m64_defconfig: *defconfig
|
2017-01-13 19:54:24 +01:00
|
|
|
bananapro_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
beagleboardx15_defconfig: *defconfig
|
|
|
|
beaglebone_defconfig: *defconfig
|
|
|
|
beaglebone_qt5_defconfig: *defconfig
|
|
|
|
chromebook_snow_defconfig: *defconfig
|
|
|
|
ci20_defconfig: *defconfig
|
2017-03-06 12:52:32 +01:00
|
|
|
csky_gx6605s_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
cubieboard2_defconfig: *defconfig
|
2017-06-23 14:26:05 +02:00
|
|
|
engicam_imx6qdl_icore_defconfig: *defconfig
|
2017-09-13 13:42:07 +02:00
|
|
|
engicam_imx6qdl_icore_qt5_defconfig: *defconfig
|
2017-06-23 14:26:06 +02:00
|
|
|
engicam_imx6qdl_icore_rqs_defconfig: *defconfig
|
2017-06-23 14:26:08 +02:00
|
|
|
engicam_imx6ul_geam_defconfig: *defconfig
|
2017-06-23 14:26:09 +02:00
|
|
|
engicam_imx6ul_isiot_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
freescale_imx28evk_defconfig: *defconfig
|
|
|
|
freescale_imx6dlsabreauto_defconfig: *defconfig
|
|
|
|
freescale_imx6dlsabresd_defconfig: *defconfig
|
|
|
|
freescale_imx6qsabreauto_defconfig: *defconfig
|
|
|
|
freescale_imx6qsabresd_defconfig: *defconfig
|
|
|
|
freescale_imx6sxsabresd_defconfig: *defconfig
|
|
|
|
freescale_imx7dsabresd_defconfig: *defconfig
|
2018-04-12 14:35:25 +02:00
|
|
|
freescale_imx8mqevk_defconfig: *defconfig
|
2018-03-09 03:36:38 +01:00
|
|
|
freescale_p1025twr_defconfig: *defconfig
|
2018-03-09 04:10:06 +01:00
|
|
|
freescale_t1040d4rdb_defconfig: *defconfig
|
2017-12-20 10:53:33 +01:00
|
|
|
friendlyarm_nanopi_a64_defconfig: *defconfig
|
2017-12-20 10:53:34 +01:00
|
|
|
friendlyarm_nanopi_neo2_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
galileo_defconfig: *defconfig
|
|
|
|
grinn_chiliboard_defconfig: *defconfig
|
|
|
|
grinn_liteboard_defconfig: *defconfig
|
|
|
|
imx23evk_defconfig: *defconfig
|
2017-09-26 18:56:48 +02:00
|
|
|
imx6-sabreauto_defconfig: *defconfig
|
2017-09-27 12:28:07 +02:00
|
|
|
imx6-sabresd_defconfig: *defconfig
|
|
|
|
imx6-sabresd_qt5_defconfig: *defconfig
|
2017-11-14 14:18:11 +01:00
|
|
|
imx6slevk_defconfig: *defconfig
|
2017-11-24 08:51:56 +01:00
|
|
|
imx6sx-sdb_defconfig: *defconfig
|
2017-11-23 15:38:42 +01:00
|
|
|
imx6ulevk_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
imx6ulpico_defconfig: *defconfig
|
2018-07-08 23:16:19 +02:00
|
|
|
imx7d-sdb_defconfig: *defconfig
|
2017-08-03 15:50:02 +02:00
|
|
|
imx7dpico_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
lego_ev3_defconfig: *defconfig
|
|
|
|
linksprite_pcduino_defconfig: *defconfig
|
|
|
|
minnowboard_max-graphical_defconfig: *defconfig
|
|
|
|
minnowboard_max_defconfig: *defconfig
|
|
|
|
mx25pdk_defconfig: *defconfig
|
|
|
|
mx51evk_defconfig: *defconfig
|
|
|
|
mx53loco_defconfig: *defconfig
|
|
|
|
mx6cubox_defconfig: *defconfig
|
|
|
|
mx6sx_udoo_neo_defconfig: *defconfig
|
|
|
|
mx6udoo_defconfig: *defconfig
|
2017-07-05 18:04:15 +02:00
|
|
|
nanopi_m1_defconfig: *defconfig
|
2017-07-10 18:28:38 +02:00
|
|
|
nanopi_m1_plus_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
nanopi_neo_defconfig: *defconfig
|
|
|
|
nexbox_a95x_defconfig: *defconfig
|
|
|
|
nitrogen6sx_defconfig: *defconfig
|
|
|
|
nitrogen6x_defconfig: *defconfig
|
|
|
|
nitrogen7_defconfig: *defconfig
|
2018-07-19 12:31:09 +02:00
|
|
|
nitrogen8m_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
odroidc2_defconfig: *defconfig
|
2018-07-18 11:57:42 +02:00
|
|
|
olimex_a10_olinuxino_lime_defconfig: *defconfig
|
2017-06-18 18:28:09 +02:00
|
|
|
olimex_a13_olinuxino_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
olimex_a20_olinuxino_lime2_defconfig: *defconfig
|
|
|
|
olimex_a20_olinuxino_lime_defconfig: *defconfig
|
|
|
|
olimex_a20_olinuxino_lime_mali_defconfig: *defconfig
|
|
|
|
olimex_a20_olinuxino_micro_defconfig: *defconfig
|
2017-12-20 10:53:35 +01:00
|
|
|
olimex_a64_olinuxino_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
olimex_imx233_olinuxino_defconfig: *defconfig
|
|
|
|
openblocks_a6_defconfig: *defconfig
|
2017-12-08 10:39:20 +01:00
|
|
|
orangepi_lite_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
orangepi_one_defconfig: *defconfig
|
2017-12-20 10:53:39 +01:00
|
|
|
orangepi_pc2_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
orangepi_pc_defconfig: *defconfig
|
2017-12-03 23:25:42 +01:00
|
|
|
orangepi_pc_plus_defconfig: *defconfig
|
2017-07-01 03:17:20 +02:00
|
|
|
orangepi_plus_defconfig: *defconfig
|
2017-12-20 10:53:37 +01:00
|
|
|
orangepi_prime_defconfig: *defconfig
|
2017-12-20 10:53:36 +01:00
|
|
|
orangepi_win_defconfig: *defconfig
|
2017-06-08 21:25:37 +02:00
|
|
|
orangepi_zero_defconfig: *defconfig
|
2017-12-20 10:53:38 +01:00
|
|
|
orangepi_zero_plus2_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
pandaboard_defconfig: *defconfig
|
|
|
|
pc_x86_64_bios_defconfig: *defconfig
|
|
|
|
pc_x86_64_efi_defconfig: *defconfig
|
2017-12-20 10:53:31 +01:00
|
|
|
pine64_defconfig: *defconfig
|
2017-12-20 10:53:32 +01:00
|
|
|
pine64_sopine_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
qemu_aarch64_virt_defconfig: *defconfig
|
|
|
|
qemu_arm_versatile_defconfig: *defconfig
|
|
|
|
qemu_arm_versatile_nommu_defconfig: *defconfig
|
|
|
|
qemu_arm_vexpress_defconfig: *defconfig
|
|
|
|
qemu_m68k_mcf5208_defconfig: *defconfig
|
|
|
|
qemu_m68k_q800_defconfig: *defconfig
|
|
|
|
qemu_microblazebe_mmu_defconfig: *defconfig
|
|
|
|
qemu_microblazeel_mmu_defconfig: *defconfig
|
|
|
|
qemu_mips32r2_malta_defconfig: *defconfig
|
|
|
|
qemu_mips32r2el_malta_defconfig: *defconfig
|
|
|
|
qemu_mips32r6_malta_defconfig: *defconfig
|
|
|
|
qemu_mips32r6el_malta_defconfig: *defconfig
|
|
|
|
qemu_mips64_malta_defconfig: *defconfig
|
|
|
|
qemu_mips64el_malta_defconfig: *defconfig
|
|
|
|
qemu_mips64r6_malta_defconfig: *defconfig
|
|
|
|
qemu_mips64r6el_malta_defconfig: *defconfig
|
|
|
|
qemu_nios2_10m50_defconfig: *defconfig
|
|
|
|
qemu_or1k_defconfig: *defconfig
|
2018-04-01 22:01:13 +02:00
|
|
|
qemu_ppc64_e5500_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
qemu_ppc64_pseries_defconfig: *defconfig
|
2017-09-20 04:48:45 +02:00
|
|
|
qemu_ppc64le_pseries_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
qemu_ppc_g3beige_defconfig: *defconfig
|
|
|
|
qemu_ppc_mpc8544ds_defconfig: *defconfig
|
|
|
|
qemu_ppc_virtex_ml507_defconfig: *defconfig
|
|
|
|
qemu_sh4_r2d_defconfig: *defconfig
|
|
|
|
qemu_sh4eb_r2d_defconfig: *defconfig
|
|
|
|
qemu_sparc64_sun4u_defconfig: *defconfig
|
|
|
|
qemu_sparc_ss10_defconfig: *defconfig
|
|
|
|
qemu_x86_64_defconfig: *defconfig
|
|
|
|
qemu_x86_defconfig: *defconfig
|
|
|
|
qemu_xtensa_lx60_defconfig: *defconfig
|
|
|
|
qemu_xtensa_lx60_nommu_defconfig: *defconfig
|
|
|
|
raspberrypi0_defconfig: *defconfig
|
2017-06-21 22:39:44 +02:00
|
|
|
raspberrypi0w_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
raspberrypi2_defconfig: *defconfig
|
2017-05-07 13:42:12 +02:00
|
|
|
raspberrypi3_64_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
raspberrypi3_defconfig: *defconfig
|
2017-09-26 23:49:01 +02:00
|
|
|
raspberrypi3_qt5we_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
raspberrypi_defconfig: *defconfig
|
|
|
|
roseapplepi_defconfig: *defconfig
|
|
|
|
s6lx9_microboard_defconfig: *defconfig
|
|
|
|
sheevaplug_defconfig: *defconfig
|
|
|
|
snps_aarch64_vdk_defconfig: *defconfig
|
2017-04-15 21:39:40 +02:00
|
|
|
snps_arc700_axs101_defconfig: *defconfig
|
|
|
|
snps_archs38_axs103_defconfig: *defconfig
|
2017-05-14 13:56:38 +02:00
|
|
|
snps_archs38_haps_defconfig: *defconfig
|
2017-12-19 15:55:54 +01:00
|
|
|
snps_archs38_hsdk_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
snps_archs38_vdk_defconfig: *defconfig
|
2017-08-02 20:03:02 +02:00
|
|
|
socrates_cyclone5_defconfig: *defconfig
|
2017-09-04 22:30:08 +02:00
|
|
|
solidrun_clearfog_defconfig: *defconfig
|
2017-12-09 13:17:20 +01:00
|
|
|
solidrun_macchiatobin_mainline_defconfig: *defconfig
|
|
|
|
solidrun_macchiatobin_marvell_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
stm32f429_disco_defconfig: *defconfig
|
|
|
|
stm32f469_disco_defconfig: *defconfig
|
|
|
|
toradex_apalis_imx6_defconfig: *defconfig
|
|
|
|
ts4800_defconfig: *defconfig
|
|
|
|
ts4900_defconfig: *defconfig
|
2018-03-05 18:15:04 +01:00
|
|
|
ts5500_defconfig: *defconfig
|
2017-08-24 23:07:00 +02:00
|
|
|
ts7680_defconfig: *defconfig
|
2017-02-14 00:23:03 +01:00
|
|
|
wandboard_defconfig: *defconfig
|
|
|
|
warp7_defconfig: *defconfig
|
|
|
|
warpboard_defconfig: *defconfig
|
|
|
|
zynq_microzed_defconfig: *defconfig
|
|
|
|
zynq_zc706_defconfig: *defconfig
|
|
|
|
zynq_zed_defconfig: *defconfig
|
|
|
|
zynq_zybo_defconfig: *defconfig
|
2017-12-12 01:51:57 +01:00
|
|
|
tests.boot.test_atf.TestATFAllwinner: *runtime_test
|
|
|
|
tests.boot.test_atf.TestATFMarvell: *runtime_test
|
|
|
|
tests.boot.test_atf.TestATFVexpress: *runtime_test
|
2017-07-02 18:13:22 +02:00
|
|
|
tests.core.test_post_scripts.TestPostScripts: *runtime_test
|
|
|
|
tests.core.test_rootfs_overlay.TestRootfsOverlay: *runtime_test
|
|
|
|
tests.core.test_timezone.TestGlibcAllTimezone: *runtime_test
|
|
|
|
tests.core.test_timezone.TestGlibcNonDefaultLimitedTimezone: *runtime_test
|
|
|
|
tests.core.test_timezone.TestNoTimezone: *runtime_test
|
|
|
|
tests.fs.test_ext.TestExt2: *runtime_test
|
|
|
|
tests.fs.test_ext.TestExt2r1: *runtime_test
|
|
|
|
tests.fs.test_ext.TestExt3: *runtime_test
|
|
|
|
tests.fs.test_ext.TestExt4: *runtime_test
|
|
|
|
tests.fs.test_iso9660.TestIso9660Grub2External: *runtime_test
|
2017-12-20 22:27:43 +01:00
|
|
|
tests.fs.test_iso9660.TestIso9660Grub2ExternalCompress: *runtime_test
|
2017-07-02 18:13:22 +02:00
|
|
|
tests.fs.test_iso9660.TestIso9660Grub2Internal: *runtime_test
|
|
|
|
tests.fs.test_iso9660.TestIso9660SyslinuxExternal: *runtime_test
|
2017-12-20 22:27:43 +01:00
|
|
|
tests.fs.test_iso9660.TestIso9660SyslinuxExternalCompress: *runtime_test
|
2017-07-02 18:13:22 +02:00
|
|
|
tests.fs.test_iso9660.TestIso9660SyslinuxInternal: *runtime_test
|
|
|
|
tests.fs.test_jffs2.TestJffs2: *runtime_test
|
|
|
|
tests.fs.test_squashfs.TestSquashfs: *runtime_test
|
|
|
|
tests.fs.test_ubi.TestUbi: *runtime_test
|
|
|
|
tests.fs.test_yaffs2.TestYaffs2: *runtime_test
|
support/testing: add runtime testing for init systems
The "builtin" kernel does not boot a systemd-based system, so
we resort to building the same one as currently used by our
qemu_arm_vexpress_defconfig.
We test the 8 following combinations:
- busybox, read-only, without network
- busybox, read-only, with network
- busybox, read-write, without network
- busybox, read-write, with network
- basic systemd, read-write, network w/ ifupdown
- basic systemd, read-write, network w/ networkd
- full systemd, read-write, network w/ networkd
- no init system, read-only, without network
The tests just verify what the /sbin/init binary is, and that we were
able to grab an IP address. More tests can be added later, for example
to check each systemd features (journal, tmpfiles...)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
[Arnout: update .gitlab-ci.yml]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-08-02 00:52:11 +02:00
|
|
|
tests.init.test_busybox.TestInitSystemBusyboxRo: *runtime_test
|
|
|
|
tests.init.test_busybox.TestInitSystemBusyboxRoNet: *runtime_test
|
|
|
|
tests.init.test_busybox.TestInitSystemBusyboxRw: *runtime_test
|
|
|
|
tests.init.test_busybox.TestInitSystemBusyboxRwNet: *runtime_test
|
|
|
|
tests.init.test_none.TestInitSystemNone: *runtime_test
|
2017-08-02 00:52:24 +02:00
|
|
|
tests.init.test_systemd.TestInitSystemSystemdRoFull: *runtime_test
|
|
|
|
tests.init.test_systemd.TestInitSystemSystemdRoIfupdown: *runtime_test
|
|
|
|
tests.init.test_systemd.TestInitSystemSystemdRoNetworkd: *runtime_test
|
support/testing: add runtime testing for init systems
The "builtin" kernel does not boot a systemd-based system, so
we resort to building the same one as currently used by our
qemu_arm_vexpress_defconfig.
We test the 8 following combinations:
- busybox, read-only, without network
- busybox, read-only, with network
- busybox, read-write, without network
- busybox, read-write, with network
- basic systemd, read-write, network w/ ifupdown
- basic systemd, read-write, network w/ networkd
- full systemd, read-write, network w/ networkd
- no init system, read-only, without network
The tests just verify what the /sbin/init binary is, and that we were
able to grab an IP address. More tests can be added later, for example
to check each systemd features (journal, tmpfiles...)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
[Arnout: update .gitlab-ci.yml]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-08-02 00:52:11 +02:00
|
|
|
tests.init.test_systemd.TestInitSystemSystemdRwFull: *runtime_test
|
|
|
|
tests.init.test_systemd.TestInitSystemSystemdRwIfupdown: *runtime_test
|
|
|
|
tests.init.test_systemd.TestInitSystemSystemdRwNetworkd: *runtime_test
|
2017-07-02 18:13:22 +02:00
|
|
|
tests.package.test_dropbear.TestDropbear: *runtime_test
|
2017-07-12 04:40:09 +02:00
|
|
|
tests.package.test_ipython.TestIPythonPy2: *runtime_test
|
|
|
|
tests.package.test_ipython.TestIPythonPy3: *runtime_test
|
2017-07-12 04:40:05 +02:00
|
|
|
tests.package.test_python.TestPython2: *runtime_test
|
2017-07-12 04:40:06 +02:00
|
|
|
tests.package.test_python.TestPython3: *runtime_test
|
2017-09-07 15:25:42 +02:00
|
|
|
tests.package.test_python_cryptography.TestPythonPy2Cryptography: *runtime_test
|
|
|
|
tests.package.test_python_cryptography.TestPythonPy3Cryptography: *runtime_test
|
2018-02-12 22:02:08 +01:00
|
|
|
tests.package.test_rust.TestRust: *runtime_test
|
|
|
|
tests.package.test_rust.TestRustBin: *runtime_test
|
2018-04-19 21:14:18 +02:00
|
|
|
tests.package.test_syslog_ng.TestSyslogNg: *runtime_test
|
2017-07-02 11:40:34 +02:00
|
|
|
tests.toolchain.test_external.TestExternalToolchainBuildrootMusl: *runtime_test
|
|
|
|
tests.toolchain.test_external.TestExternalToolchainBuildrootuClibc: *runtime_test
|
2017-07-24 13:16:26 +02:00
|
|
|
tests.toolchain.test_external.TestExternalToolchainCCache: *runtime_test
|
2017-07-02 11:40:34 +02:00
|
|
|
tests.toolchain.test_external.TestExternalToolchainCtngMusl: *runtime_test
|
2017-07-02 18:13:22 +02:00
|
|
|
tests.toolchain.test_external.TestExternalToolchainLinaroArm: *runtime_test
|
|
|
|
tests.toolchain.test_external.TestExternalToolchainSourceryArmv4: *runtime_test
|
|
|
|
tests.toolchain.test_external.TestExternalToolchainSourceryArmv5: *runtime_test
|
|
|
|
tests.toolchain.test_external.TestExternalToolchainSourceryArmv7: *runtime_test
|