~ryan-rmarcus/pocl/pocl

« back to all changes in this revision

Viewing changes to tests/testsuite.at

  • Committer: Carlos Sánchez de La Lama
  • Date: 2011-11-11 11:10:37 UTC
  • mto: This revision was merged to the branch mainline in revision 70.
  • Revision ID: carlos.delalama@urjc.es-20111111111037-zngd437tgipgnvh4
Corrected indexing the the reference maps when creating workitems (!!!)
WorkitemReplication pass is now teste using graphs also.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
AT_INIT()
26
26
 
27
27
AT_SETUP([Graph-based llvmopencl tests])
 
28
for i in $abs_top_srcdir/tests/*_workitem.dot
 
29
do
 
30
  rm cfg.*.dot
 
31
  AT_CHECK([opt -load $abs_top_builddir/lib/llvmopencl/.libs/llvmopencl.so -workitem -local-size=2 2 2 -o test.ll `echo $i | sed s/_workitem.dot/.ll/`], 0, ignore, ignore)
 
32
  opt -disable-output -dot-cfg-only test.ll
 
33
  dot -Tpng -o test.png cfg.*.dot
 
34
  dot -Tpng -o golden.png $i
 
35
  AT_CHECK([cmp test.png golden.png])
 
36
done
28
37
for i in $abs_top_srcdir/tests/*_barriers.dot
29
38
do
30
39
  rm cfg.*.dot