xref: /aosp_15_r20/external/liblc3/test/makefile.mk (revision 49fe348c0058011ee60b6957cdd9d52742df84bc)
1*49fe348cSAndroid Build Coastguard Worker#
2*49fe348cSAndroid Build Coastguard Worker# Copyright 2022 Google LLC
3*49fe348cSAndroid Build Coastguard Worker#
4*49fe348cSAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License");
5*49fe348cSAndroid Build Coastguard Worker# you may not use this file except in compliance with the License.
6*49fe348cSAndroid Build Coastguard Worker# You may obtain a copy of the License at:
7*49fe348cSAndroid Build Coastguard Worker#
8*49fe348cSAndroid Build Coastguard Worker# http://www.apache.org/licenses/LICENSE-2.0
9*49fe348cSAndroid Build Coastguard Worker#
10*49fe348cSAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software
11*49fe348cSAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS,
12*49fe348cSAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*49fe348cSAndroid Build Coastguard Worker# See the License for the specific language governing permissions and
14*49fe348cSAndroid Build Coastguard Worker# limitations under the License.
15*49fe348cSAndroid Build Coastguard Worker#
16*49fe348cSAndroid Build Coastguard Worker
17*49fe348cSAndroid Build Coastguard Workertest_py:
18*49fe348cSAndroid Build Coastguard Worker	$(V)cd $(TEST_DIR) && python3 setup.py && PYTHONPATH=build python3 run.py
19*49fe348cSAndroid Build Coastguard Worker
20*49fe348cSAndroid Build Coastguard Worker.PHONY: test test-clean
21*49fe348cSAndroid Build Coastguard Worker
22*49fe348cSAndroid Build Coastguard Workertest: test_py
23*49fe348cSAndroid Build Coastguard Worker
24*49fe348cSAndroid Build Coastguard Workertest-clean:
25*49fe348cSAndroid Build Coastguard Worker	$(V)cd $(TEST_DIR) && python3 setup.py clean > /tmp/zero
26*49fe348cSAndroid Build Coastguard Worker
27*49fe348cSAndroid Build Coastguard Worker-include $(TEST_DIR)/arm/makefile.mk
28*49fe348cSAndroid Build Coastguard Worker-include $(TEST_DIR)/neon/makefile.mk
29*49fe348cSAndroid Build Coastguard Worker
30*49fe348cSAndroid Build Coastguard Workerclean-all: test-clean
31