Logo
Explore Help
Sign In
devtools/eigen
1
0
Fork 0
You've already forked eigen
mirror of https://gitlab.com/libeigen/eigen.git synced 2026-04-10 11:34:33 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
9aa37f310820128635e5b46d740cfa0fb49dc846
eigen/test/buildtests.in

22 lines
390 B
Plaintext
Raw Normal View History

* add maketests script. It is like make but takes a regexp allowing to build selected targets. Next step will be a "mctestr" script doing that and then calling ctest -R. * in runtest.sh, don't override the default number of repeats. If one thinks the default should be changed, let's change it at the source.
2009-11-11 21:25:21 -05:00
#!/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}"
xargs ---> xargs echo (xargs alone doesnt seem to be documented in the man page, while xargs echo is documented)
2009-11-12 15:37:50 -05:00
targets_to_make=`echo "$TESTSLIST" | grep "$1" | sed s/^/test_/g | xargs echo`
* add maketests script. It is like make but takes a regexp allowing to build selected targets. Next step will be a "mctestr" script doing that and then calling ctest -R. * in runtest.sh, don't override the default number of repeats. If one thinks the default should be changed, let's change it at the source.
2009-11-11 21:25:21 -05:00
if [ $# == 1 ]
then
make $targets_to_make
fi
if [ $# == 2 ]
then
make -j $2 $targets_to_make
fi
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 127ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API