Home | History | Annotate | Download | only in samples
      1 #!/bin/bash
      2 
      3 export dm_setting_root=$PWD/dmt_data
      4 export dm_setting_version="1.2"
      5 
      6 PLATFORM=$1
      7 if [ ".$PLATFORM" = ".xscale" ]; then
      8     export LD_LIBRARY_PATH=$PWD/../lib/xscale.d:$PWD/../lib/xscale.r
      9     export dm_setting_plugin=$PWD/plugins/xscale
     10 else
     11     PLATFORM=x86
     12     export LD_LIBRARY_PATH=$PWD/../lib/x86.d:$PWD/lib/../x86
     13     export dm_setting_plugin=$PWD/plugins/x86
     14 fi
     15 
     16 ddd $PWD/bin/$PLATFORM/testexe $2
     17 
     18 
     19