AT_SETUP([test python test11])

AT_KEYWORDS([python test11])

# List of executables that should be run to perform the tests
#AT_TESTED([test11.py])

AT_CHECK([ln -s $builddir/test10_f64_i32.med test10_f64_i32.med],[0],[ignore],[ignore])
AT_CHECK([cp $abs_srcdir/test11_f64_i32${MEDINT}.expout expout],[0],[ignore],[ignore])
AT_CHECK([LC_ALL=C.UTF-8 $PYTHON  $testpydir/test11.py $BUILDDIR/test10_f64_i32.med],
         [0],
         [expout],
         [ignore],
	 [],
	 []
	 )

AT_CHECK([ln -s $builddir/test10_f32_i32.med test10_f32_i32.med],[0],[ignore],[ignore])
AT_CHECK([cp $abs_srcdir/test11_f32_i32${MEDINT}.expout expout],[0],[ignore],[ignore])
AT_CHECK([LC_ALL=C.UTF-8 $PYTHON  $testpydir/test11.py $BUILDDIR/test10_f32_i32.med],
         [0],
         [expout],
         [ignore],
	 [],
	 []
	 )

AT_CHECK([ln -s $builddir/test10_f64_i64.med test10_f64_i64.med],[0],[ignore],[ignore])
AT_CHECK([cp $abs_srcdir/test11_f64_i64${MEDINT}${MED_PY3_SUFFIX}.expout expout],[0],[ignore],[ignore])
AT_CHECK([LC_ALL=C.UTF-8 $PYTHON  $testpydir/test11.py $BUILDDIR/test10_f64_i64.med],
         [0],
         [expout],
         [ignore],
	 [],
	 []
	 )

AT_CHECK([ln -s $builddir/test10_f32_i64.med test10_f32_i64.med],[0],[ignore],[ignore])
AT_CHECK([cp $abs_srcdir/test11_f32_i64${MEDINT}${MED_PY3_SUFFIX}.expout expout],[0],[ignore],[ignore])
AT_CHECK([LC_ALL=C.UTF-8 $PYTHON  $testpydir/test11.py $BUILDDIR/test10_f32_i64.med],
         [0],
         [expout],
         [ignore],
	 [],
	 []
	 )

AT_CLEANUP
