1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/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