]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Let "make distclean" remove generated tilegx instruction test files
authorZhi-Gang Liu <zliu@tilera.com>
Wed, 5 Aug 2015 02:38:10 +0000 (02:38 +0000)
committerZhi-Gang Liu <zliu@tilera.com>
Wed, 5 Aug 2015 02:38:10 +0000 (02:38 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15488

none/tests/tilegx/Makefile.am
none/tests/tilegx/gen_test.sh

index 90044651338cfc4acca91c0d808e873197e4e906..0d505b74a9e691b1917c7942543a8beb1eabd1a2 100644 (file)
@@ -1597,19 +1597,15 @@ gen_insn_test_CFLAGS    = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@ -I../../../VEX/priv
 gen_insn_test_LDADD     = ../../../VEX/priv/tilegx_disasm.o
 
 $(addsuffix .c, $(insn_tests)) : gen_insn_test
-       @echo $@
-       ./gen_test.sh $@
+       @./gen_test.sh $@
 
 $(addsuffix .stdout.exp, $(insn_tests)) : $(insn_tests)
-       @echo "Generate $@"
        ./$(basename $(basename $@)) > $@
 
 $(addsuffix .stderr.exp, $(insn_tests)) :
-       @echo "Generate $@"
        touch  $@
 
 $(addsuffix .vgtest, $(insn_tests)) :
-       @echo "Generate $@"
        echo -e "prog: $(basename $@)\nvgopts: -q" > $@
 
 check-am : $(addsuffix .stdout.exp, $(insn_tests))  $(addsuffix .stderr.exp, $(insn_tests)) $(addsuffix .vgtest, $(insn_tests))
@@ -1618,3 +1614,4 @@ clean-am :
        @rm -f *.stderr.exp *.stdout.exp *.vgtest $(addsuffix .c, $(insn_tests))  $(addsuffix .o, $(insn_tests)) $(insn_tests)
        @rm -f *.o  $(bin_PROGRAMS)
 
+distclean-am : clean-am
index 77bf1281d3fa4f1d279397898e76550ff18109d1..1b6537e0c567be5a448c0359c068d0650c16e0ec 100755 (executable)
@@ -573,13 +573,12 @@ FILES=( "5         1       insn_test_move_X0.c"
 
 if [ $# -gt 0 ]; then
 #fname = "$1"
-echo "generate $1"
+
 for f in "${FILES[@]}"
 do
     array=(${f// / })
     if [ ${array[2]} = $1 ]; then
         ./gen_insn_test ${array[0]} ${array[1]} > ${array[2]}
-#        cat hello.c > ${array[2]}
         exit 0
     fi
 done