Loading Common/Misc/getTemplateForTest/src/install_gmockdeleted 100644 → 0 +0 −32 Original line number Diff line number Diff line #!/bin/bash if [[ $(id -u) -ne 0 ]] ; then echo "Script must be run as root" ; exit 1 ; fi GMOCK=gmock-1.7.0 GMOCK_BASE_URL=https://googlemock.googlecode.com/files BUILDDIR=build PWD=`pwd` TMPDIR=`mktemp -d` cd $TMPDIR wget $GMOCK_BASE_URL/$GMOCK.zip unzip $GMOCK.zip cd $GMOCK export GMOCK_HOME=`pwd` mkdir $BUILDDIR cd $BUILDDIR cmake .. make chmod a+x *.a cp *.a /usr/local/lib cd $GMOCK_HOME/include cp -r gmock /usr/local/include cd $GMOCK_HOME/gtest mkdir $BUILDDIR cd $BUILDDIR cmake .. make chmod a+x *.a cp *.a /usr/local/lib cd $GMOCK_HOME/gtest/include cp -r gtest /usr/local/include cd $PWD rm -rf $TMPDIR Common/Misc/getTemplateForTest/src/Makefile→Common/Misc/getTemplateForTests/src/Makefile +3 −5 Original line number Diff line number Diff line Loading @@ -12,10 +12,8 @@ # # Python stuff (public and local) # ---------------------------- PY_SCRIPTS = getTemplateForTest PY_MODULES = gettemplatefortest SCRIPTS_L = install_gmock PY_SCRIPTS = getTemplateForTests PY_MODULES = gettemplatefortests # #>>>>> END OF standard rules Loading @@ -37,7 +35,7 @@ all: do_all @echo " . . . 'all' done" clean_templates: rm -rf $(INTROOT)/templates/test rm -rf $(INTROOT)/templates/tests @echo " . . . templates removed from introot" clean : clean_all clean_templates Loading Common/Misc/getTemplateForTest/src/getTemplateForTest→Common/Misc/getTemplateForTests/src/getTemplateForTests +2 −2 Original line number Diff line number Diff line Loading @@ -18,11 +18,11 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # import sys import gettemplatefortest import gettemplatefortests args = sys.argv[1:] try: gettemplatefortest.command_line_util(args) gettemplatefortests.command_line_util(args) except Exception, e: print e.message sys.exit(1) Loading Common/Misc/getTemplateForTest/src/gettemplatefortest.py→Common/Misc/getTemplateForTests/src/gettemplatefortests.py +0 −0 File moved. View file Common/Misc/getTemplateForTest/templates/tests/.discos→Common/Misc/getTemplateForTests/templates/tests/.discos +0 −0 File moved. View file Loading
Common/Misc/getTemplateForTest/src/install_gmockdeleted 100644 → 0 +0 −32 Original line number Diff line number Diff line #!/bin/bash if [[ $(id -u) -ne 0 ]] ; then echo "Script must be run as root" ; exit 1 ; fi GMOCK=gmock-1.7.0 GMOCK_BASE_URL=https://googlemock.googlecode.com/files BUILDDIR=build PWD=`pwd` TMPDIR=`mktemp -d` cd $TMPDIR wget $GMOCK_BASE_URL/$GMOCK.zip unzip $GMOCK.zip cd $GMOCK export GMOCK_HOME=`pwd` mkdir $BUILDDIR cd $BUILDDIR cmake .. make chmod a+x *.a cp *.a /usr/local/lib cd $GMOCK_HOME/include cp -r gmock /usr/local/include cd $GMOCK_HOME/gtest mkdir $BUILDDIR cd $BUILDDIR cmake .. make chmod a+x *.a cp *.a /usr/local/lib cd $GMOCK_HOME/gtest/include cp -r gtest /usr/local/include cd $PWD rm -rf $TMPDIR
Common/Misc/getTemplateForTest/src/Makefile→Common/Misc/getTemplateForTests/src/Makefile +3 −5 Original line number Diff line number Diff line Loading @@ -12,10 +12,8 @@ # # Python stuff (public and local) # ---------------------------- PY_SCRIPTS = getTemplateForTest PY_MODULES = gettemplatefortest SCRIPTS_L = install_gmock PY_SCRIPTS = getTemplateForTests PY_MODULES = gettemplatefortests # #>>>>> END OF standard rules Loading @@ -37,7 +35,7 @@ all: do_all @echo " . . . 'all' done" clean_templates: rm -rf $(INTROOT)/templates/test rm -rf $(INTROOT)/templates/tests @echo " . . . templates removed from introot" clean : clean_all clean_templates Loading
Common/Misc/getTemplateForTest/src/getTemplateForTest→Common/Misc/getTemplateForTests/src/getTemplateForTests +2 −2 Original line number Diff line number Diff line Loading @@ -18,11 +18,11 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # import sys import gettemplatefortest import gettemplatefortests args = sys.argv[1:] try: gettemplatefortest.command_line_util(args) gettemplatefortests.command_line_util(args) except Exception, e: print e.message sys.exit(1) Loading
Common/Misc/getTemplateForTest/src/gettemplatefortest.py→Common/Misc/getTemplateForTests/src/gettemplatefortests.py +0 −0 File moved. View file
Common/Misc/getTemplateForTest/templates/tests/.discos→Common/Misc/getTemplateForTests/templates/tests/.discos +0 −0 File moved. View file