[FFmpeg-devel] [PATCH] improve find_tests in configure

Michael Niedermayer michaelni
Mon Jul 12 22:13:21 CEST 2010


Hi

configure told me
./configure: line 329: error.orig_test=yes: command not found

quick fix for that below. I guess we want to fix this differently, listing
negatives suck, but text editors and svn itself can leave trash anywhere
which means that just taking all files as done isnt practical ...

Index: configure
===================================================================
--- configure	(revision 24213)
+++ configure	(working copy)
@@ -1612,7 +1614,7 @@
 FILTER_LIST=$(find_things   filter   FILTER   libavfilter/allfilters.c)
 
 find_tests(){
-    map 'echo ${v}_test' $(ls "$source_path"/tests/ref/$1)
+    map 'echo ${v}_test' $(ls "$source_path"/tests/ref/$1 | egrep -v '(\.orig|~)')
 }
 
 ACODEC_TESTS=$(find_tests acodec)


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100712/1e58d1fa/attachment.pgp>



More information about the ffmpeg-devel mailing list