blob: adfb1ce7a0dbb5437910d069869435955e7f82ef [file] [log] [blame]
Andrew Geissler8eef9752020-11-11 12:07:01 -06001#!/bin/bash -xe
2#
3# Purpose:
4# This script is responsible for testing the openbmc-build-scripts repository
5#
6# Required Inputs:
7# WORKSPACE: Directory which contains the extracted openbmc-build-scripts
8# directory
9
10export LANG=en_US.UTF8
11
Patrick Williamse667f992021-02-16 12:13:02 -060012cd "${WORKSPACE}/openbmc-build-scripts"
Andrew Geissler8eef9752020-11-11 12:07:01 -060013
14# Now run some of our most used CI scripts
Patrick Williams02871c92021-02-01 20:57:19 -060015./scripts/build-unit-test-docker
Patrick Williamsb8fecba2021-02-11 14:33:23 -060016./scripts/clean-unit-test-docker
Andrew Geissler8eef9752020-11-11 12:07:01 -060017./scripts/build-qemu-robot-docker.sh
Patrick Williamse667f992021-02-16 12:13:02 -060018
19# Run a simple CI against 'sdbusplus' to ensure the run-unit-test script works.
20cd "${WORKSPACE}"
21git clone https://github.com/openbmc/sdbusplus
22UNIT_TEST_PKG=sdbusplus "${WORKSPACE}/openbmc-build-scripts/run-unit-test-docker.sh"