2021-08-11 15:20:27 +02:00
|
|
|
#!/bin/bash -eu
|
|
|
|
|
|
|
|
set -o pipefail
|
|
|
|
|
|
|
|
# Tests of Soong functionality
|
|
|
|
|
|
|
|
source "$(dirname "$0")/lib.sh"
|
|
|
|
|
|
|
|
function test_m_clean_works {
|
|
|
|
setup
|
|
|
|
|
2023-02-14 00:54:42 +01:00
|
|
|
mkdir -p out/some_directory
|
|
|
|
touch out/some_directory/some_file
|
2021-08-11 15:20:27 +02:00
|
|
|
|
|
|
|
run_soong clean
|
|
|
|
}
|
|
|
|
|
2023-01-05 20:12:12 +01:00
|
|
|
scan_and_run_tests
|