Rupert Shuttleworth | 755ceb0 | 2021-08-11 09:20:27 -0400 | [diff] [blame] | 1 | #!/bin/bash -eu |
2 | |||||
3 | set -o pipefail | ||||
4 | |||||
5 | # Tests of Soong functionality | ||||
6 | |||||
7 | source "$(dirname "$0")/lib.sh" | ||||
8 | |||||
9 | function test_m_clean_works { | ||||
10 | setup | ||||
11 | |||||
Usta Shrestha | 6e1aa78 | 2023-02-13 18:54:42 -0500 | [diff] [blame] | 12 | mkdir -p out/some_directory |
13 | touch out/some_directory/some_file | ||||
Rupert Shuttleworth | 755ceb0 | 2021-08-11 09:20:27 -0400 | [diff] [blame] | 14 | |
15 | run_soong clean | ||||
16 | } | ||||
17 | |||||
Usta Shrestha | a4e0a0f | 2023-01-05 14:12:12 -0500 | [diff] [blame] | 18 | scan_and_run_tests |