harness: update to devq test
authorRoni Häcki <roni.haecki@inf.ethz.ch>
Wed, 1 Mar 2017 12:02:31 +0000 (13:02 +0100)
committerRoni Häcki <roni.haecki@inf.ethz.ch>
Wed, 1 Mar 2017 12:02:31 +0000 (13:02 +0100)
Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>

tools/harness/tests/devif_test.py

index 5aaf5c4..a9d334f 100644 (file)
@@ -48,16 +48,31 @@ class DevifTests(TestCommon):
         return PassFailResult(passed)
 
 @tests.add_test
-class DevifNetTxTest(DevifTests):
+class DevifNetTxSF(DevifTests):
     ''' Devif Net TX Test'''
-    name = "devif_net_tx_test"
+    name = "devif_nettx_sf"
+    OP = "net_tx"
+    CARD = "sfn5122f"
+
+
+@tests.add_test
+class DevifNetTxE10k(DevifTests):
+    ''' Devif Net TX Test'''
+    name = "devif_nettx_e10k"
     OP = "net_tx"
     CARD = "e10k"
 
 @tests.add_test
-class DevifNetRxTest(DevifTests):
+class DevifNetRxSF(DevifTests):
+    ''' Devif Net RX Test'''
+    name = "devif_netrx_sf"
+    OP = "net_rx"
+    CARD = "sfn5122f"
+
+@tests.add_test
+class DevifNetRxE10k(DevifTests):
     ''' Devif Net RX Test'''
-    name = "devif_net_rx_test"
+    name = "devif_netrx_e10k"
     OP = "net_rx"
     CARD = "e10k"
 
@@ -66,4 +81,5 @@ class DevifIdcTest(DevifTests):
     ''' Devif IDC Test'''
     name = "devif_idc_test"
     OP = "idc"
+    CARD = "none"