#!/bin/sh function test_ex { make -C ex V=1 clean > ex.out 2>&1 make -C ex V=1 >> ex.out 2>&1 if [ ! -x ./ex/ex ]; then echo FAILED exit -1 fi make -C ex V=1 clean > /dev/null 2>&1 rm -f ex.out } function test_ex_suffix { make -C ex V=1 clean > ex.out 2>&1 # use -rR to disable make's builtin rules make -rR -C ex V=1 ex.o >> ex.out 2>&1 make -rR -C ex V=1 ex.i >> ex.out 2>&1 make -rR -C ex V=1 ex.s >> ex.out 2>&1 if [ -x ./ex/ex ]; then echo FAILED exit -1 fi if [ ! -f ./ex/ex.o -o ! -f ./ex/ex.i -o ! -f ./ex/ex.s ]; then echo FAILED exit -1 fi make -C ex V=1 clean > /dev/null 2>&1 rm -f ex.out } function test_ex_include { make -C ex V=1 clean > ex.out 2>&1 # build with krava.h include touch ex/krava.h make -C ex V=1 CFLAGS=-DINCLUDE >> ex.out 2>&1 if [ ! -x ./ex/ex ]; then echo FAILED exit -1 fi # build without the include rm -f ex/krava.h ex/ex make -C ex V=1 >> ex.out 2>&1 if [ ! -x ./ex/ex ]; then echo FAILED exit -1 fi make -C ex V=1 clean > /dev/null 2>&1 rm -f ex.out } echo -n Testing.. test_ex test_ex_suffix test_ex_include echo OK ue='nds-private-remove'>nds-private-remove net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/pstore/config
option>
AgeCommit message (Expand)AuthorFilesLines
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-02-09 17:09:20 -0500
committerDavid S. Miller <davem@davemloft.net>2017-02-09 17:09:20 -0500
commit165f1cc0b5858b17cbb31312e861495f4500d9f0 (patch)
treefd3c02c461fdeb60eb1ae3ab7470fcb92ec3399e /drivers
parent15c2e102412d95af4fe88e5b28b3eba124545bbf (diff)
parent038b9404d4e2db4fbc03d5d2203abafc6e188528 (diff)
Merge branch 'qcom-emac-more-ethtool'
Timur Tabi says: ==================== net: qcom/emac: add the last ethtool functions These two patches implement the remaining two ethtool functions that are of interest to the Qualcomm EMAC driver. These are the last patches that will be submitted for the 4.11 merge window. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')