Author: dsommers
Date: 2010-01-12 17:05:10 +0000 (Tue, 12 Jan 2010)
New Revision: 299
Added:
trunk/tests/rteval/runtest.sh
Modified:
trunk/tests/rteval/Makefile
trunk/tests/rteval/v7_rteval.py
Log:
Final fixes to make v7 run the v7_rteval.py without failures
Modified: trunk/tests/rteval/Makefile
===================================================================
--- trunk/tests/rteval/Makefile 2010-01-12 17:05:00 UTC (rev 298)
+++ trunk/tests/rteval/Makefile 2010-01-12 17:05:10 UTC (rev 299)
@@ -15,7 +15,7 @@
.PHONY: all install download clean
-FILES=$(METADATA) runtest.sh lid.py
+FILES=$(METADATA) runtest.sh v7_rteval.py
run: $(FILES) build
./runtest.sh
Added: trunk/tests/rteval/runtest.sh
===================================================================
--- trunk/tests/rteval/runtest.sh (rev 0)
+++ trunk/tests/rteval/runtest.sh 2010-01-12 17:05:10 UTC (rev 299)
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+v7-run-simple-test ${TEST:-$(basename $PWD)} ./v7_rteval.py
Property changes on: trunk/tests/rteval/runtest.sh
___________________________________________________________________
Name: svn:executable
+ *
Modified: trunk/tests/rteval/v7_rteval.py
===================================================================
--- trunk/tests/rteval/v7_rteval.py 2010-01-12 17:05:00 UTC (rev 298)
+++ trunk/tests/rteval/v7_rteval.py 2010-01-12 17:05:10 UTC (rev 299)
@@ -22,6 +22,7 @@
from v7.test import Test
from v7.tags import Constants
+from v7.tags import DeviceClass
class v7RTeval(Test):
@@ -30,8 +31,8 @@
self.interactive = False
self.data = {}
self.rteval = None
+ self.deviceClass = DeviceClass.processor
-
def __read_sys_dmi(self, name):
try:
f = open("/sys/class/dmi/id/%s" % name, "r")
@@ -61,7 +62,6 @@
ret = list()
ret.append(self.makeCopy())
- self.setDevice('rt-hw')
return ret