浏览代码

We need to sort the trace before giving it to pj_dump

Samuel Thibault 8 年之前
父节点
当前提交
85255aecce
共有 1 个文件被更改,包括 8 次插入2 次删除
  1. 8 2
      tests/datawizard/locality.sh

+ 8 - 2
tests/datawizard/locality.sh

@@ -15,12 +15,18 @@
 #
 # See the GNU Lesser General Public License in COPYING.LGPL for more details.
 
+# Test generation of FxT traces
+
 set -e
 
 PREFIX=$(dirname $0)
 STARPU_FXT_PREFIX=$PREFIX/ $PREFIX/locality
 $PREFIX/../../tools/starpu_fxt_tool -i $PREFIX/prof_file_${USER}_0
-if type pj_dump > /dev/null
+
+# Check that they are approved by Grenoble :)
+
+if type pj_dump > /dev/null 2> /dev/null
 then
-	pj_dump paje.trace > /dev/null
+	$PREFIX/../../tools/starpu_paje_sort paje.trace
+	pj_dump paje.trace
 fi