hi Johannes (and other's who have pulled the git!),
whilst at work, I thought I'd get the computer to test compile
individual revisions. Thought this script may be useful:
----------------------------------------------
#!/bin/bash
cd testcompile
# This is a really boring process!!
for i in $(git-rev-list origin ^42ca31c9f); do
# into Dir
cg-reset
cg-clean
if [ -a ../results/$i.done ]; then
echo Skipping $i, it is already done!
else
cg-seek $i
./autogen.sh
echo Configuring for $i
./configure --prefix=/usr > ../results/$i.config1 2>
./results/$i.config2
echo Making for $i
make > ../results/$i.make1a 2> ../results/$i.make2a
make > ../results/$i.make1b 2> ../results/$i.make2b
cat ../results/$i.make2b
touch ../results/$i.done
make clean
fi
# out of dir
done
cd ..
----------------------------------------------
After modifying the git-rev-list start and end points, let it rip, then
search in the ../results/*.make2b for bigger than normal file sizes.
The 2 makes are to get rid of the warning messages...(i.e. the first
make compiles, and warnings end up in make2a
Please note, that this is an EXTREMELY slow method, and the autogen.sh
&& configure && cleaning of the dir may not REALLY be needed every time!!
Cheers,
Pierre
Johannes Sixt wrote:
Pierre,
I've almost done it - all patches up to
2e02de0baf1909cd3b7b4ccadaab97e90fe0a536 are moved to svn-plan2. There are
now only 9 patches remaining, one of which is the recording window patch that
is already on svn-plan2.
I would have preferred to complete everything, but it's already too late night
now. I've only commited the cache and garbage collection patches to svn.
BTW, I haven't continued from your svn-linearpmd this time because it looked a
bit messy, although I did reuse the splitted-off patch related to cache.* -
thanks for doing this!
-- Hannes
_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra