Permalink
Browse files

Remove tabs, add tab checking to run_tests.sh (-tt)

  • Loading branch information...
1 parent 00c570a commit df44ff8b78b53f99cfc0c27fd417b602b940536b vagrant committed Aug 16, 2011
Showing with 5 additions and 6 deletions.
  1. +2 −2 asp/jit/variant_history.py
  2. +2 −3 run_tests.sh
  3. +1 −1 specializers/stencil/stencil_optimize_cpp.py
@@ -124,7 +124,7 @@ def get_picklable_obj(self):
def set_from_pickled_obj(self, obj):
if self.v_id_list != obj['variant_names']:
- print "Warning: Attempted to load pickled performance data for non-matching space of code variants."
- return
+ print "Warning: Attempted to load pickled performance data for non-matching space of code variants."
+ return
self.param_names = obj['param_names']
View
@@ -2,12 +2,12 @@
if [ -z "${PYTHON}" ]
then
- PYTHON=python
+ export PYTHON=python
#PYTHON=pychecker
fi
if [ -z "${PYTHONARGS}" ]
then
- PYTHONARGS=
+ export PYTHONARGS=-tt
#PYTHONARGS=-#1000
fi
@@ -26,5 +26,4 @@ PYTHONPATH=`pwd`:${PYTHONPATH} ${PYTHON} ${PYTHONARGS} tests/ast_tools_test.py
#export PYTHONPATH=`cd test_install;pwd`/lib/python2.7/site-packages:${PYTHONPATH}
#python setup.py build install --prefix=test_install
-
cd specializers; ./run_tests.sh; cd ..
@@ -12,7 +12,7 @@ def __init__(self, model, output_grid_shape, unroll_factor, block_factor=None):
self.output_grid_shape = output_grid_shape
self.unroll_factor = unroll_factor
self.block_factor = block_factor
- super(StencilOptimizeCpp, self).__init__()
+ super(StencilOptimizeCpp, self).__init__()
def run(self):
self.model = self.visit(self.model)

0 comments on commit df44ff8

Please sign in to comment.