platform_build_soong/tests/soong_test.sh

18 lines
245 B
Bash
Raw Normal View History

#!/bin/bash -eu
set -o pipefail
# Tests of Soong functionality
source "$(dirname "$0")/lib.sh"
function test_m_clean_works {
setup
mkdir -p out/some_directory
touch out/some_directory/some_file
run_soong clean
}
scan_and_run_tests