1 ## @file 2 # GNU/Linux makefile for 'Tests' module build. 3 # 4 # Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> 5 # This program and the accompanying materials 6 # are licensed and made available under the terms and conditions of the BSD License 7 # which accompanies this distribution. The full text of the license may be found at 8 # http://opensource.org/licenses/bsd-license.php 9 # 10 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 12 # 13 14 all: test 15 16 test: 17 @if command -v python2 >/dev/null 2>&1; then python2 RunTests.py; else python RunTests.py; fi 18 19 clean: 20 find . -name '*.pyc' -exec rm '{}' ';' 21 22