From: bangerth Date: Fri, 28 Sep 2012 02:40:49 +0000 (+0000) Subject: Find the path to deal.II some other way. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac8347a619891649e04cda846e9c0a69deca5070;p=dealii-svn.git Find the path to deal.II some other way. git-svn-id: https://svn.dealii.org/trunk@26818 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/normalize.pl b/tests/normalize.pl index 3dc53ffe30..f0490fd217 100644 --- a/tests/normalize.pl +++ b/tests/normalize.pl @@ -1,7 +1,7 @@ ###################################################################### # $Id$ # -# Copyright (C) 2001, 2003, 2005, 2010, 2011, the deal.II authors +# Copyright (C) 2001, 2003, 2005, 2010, 2011, 2012, the deal.II authors # # Remove insignificant volatile data from output files of tests # @@ -12,9 +12,10 @@ # small doubles ###################################################################### -# Remove absolute path names +# Remove absolute path names. Get the path to the testsuite from +# the location of this script $D = $0; -$D =~ s!common/scripts/normalize.pl!!; +$D =~ s!tests/normalize.pl!!; s!$D!DEAL_II_PATH/!g; # Remove JobID @@ -26,7 +27,7 @@ s/JobId.*//; s/%%Creation Date:.*//; s/\"created\".*//; s/# Time =.*//; -s/# Date =.*//; +s/# Date =.*//; s/^\s+Time =.*//; s/^\s+Date =.*//; s/Time tag:.*//g;