* add non-default option to initialize matrices by 0

(useful for porting)
* maketests really has to be in test/
This commit is contained in:
Benoit Jacob
2009-11-12 12:39:22 -05:00
parent 358452bbe6
commit 8132ee3908
4 changed files with 12 additions and 2 deletions

View File

@@ -1,4 +1,3 @@
configure_file(maketests.in ${CMAKE_BINARY_DIR}/maketests)
configure_file(mctestr.in ${CMAKE_BINARY_DIR}/mctestr)
configure_file(debug.in ${CMAKE_BINARY_DIR}/debug)
configure_file(release.in ${CMAKE_BINARY_DIR}/release)

View File

@@ -1,21 +0,0 @@
#!/bin/bash
if [ $# == 0 -o $# -ge 3 ]
then
echo "usage: ./maketests regexp [jobs]"
echo " makes tests matching the regexp, with <jobs> concurrent make jobs"
exit 0
fi
TESTSLIST="${cmake_tests_list}"
targets_to_make=`echo "$TESTSLIST" | grep "$1" | sed s/^/test_/g | xargs`
if [ $# == 1 ]
then
make $targets_to_make
fi
if [ $# == 2 ]
then
make -j $2 $targets_to_make
fi