nareshkamboju

test-runner for manual tests

Nov 16th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. naresh@linaro:~/git-local/2016/manual-test-milosz/test-definitions$ test-runner -d manual/generic/linux/usb-ethernet.yaml -o ~/output-dir -k manual
  2. 2016-11-16 15:21:24,754 - RUNNER: INFO: Tests to run:
  3. {'path': 'manual/generic/linux/usb-ethernet.yaml', 'uuid': '61df2ee4-d3ab-400e-978a-6fc090332987', 'timeout': None, 'skip_install': False}
  4. 2016-11-16 15:21:24,796 - RUNNER.TestSetup: INFO: Output directory created: /home/naresh/output-dir
  5. 2016-11-16 15:21:25,361 - RUNNER.TestSetup: INFO: Test repo copied to: /home/naresh/output-dir/usb-ethernet_61df2ee4-d3ab-400e-978a-6fc090332987
  6. usb-ethernet
  7. Welcome to manual test executor. Type 'help' for available commands
  8. usb-ethernet > help
  9.  
  10. Documented commands (type help <topic>):
  11. ========================================
  12. EOF description fail next quit start
  13. current expected help pass skip steps
  14.  
  15. usb-ethernet > ifconfig eth0
  16. *** Unknown syntax: ifconfig eth0
  17. usb-ethernet > description
  18. Test if USB Ethernet works on Linux
  19. usb-ethernet > start
  20. 0. Login as root and plug in your USB Ethernet gadget.
  21. usb-ethernet >
  22. 0. Login as root and plug in your USB Ethernet gadget.
  23. usb-ethernet > next
  24. 1. Run "dmesg" to find the device ID. Take "eth0" for example.
  25. usb-ethernet > current dmesg
  26. 1. Run "dmesg" to find the device ID. Take "eth0" for example.
  27. usb-ethernet > dmesg
  28. *** Unknown syntax: dmesg
  29. usb-ethernet > steps dmesg
  30. 0. Login as root and plug in your USB Ethernet gadget.
  31. 1. Run "dmesg" to find the device ID. Take "eth0" for example.
  32. 2. Run "ifconfig eth0" to check if IP address assigned by DHCP server. If not, run "dhclient eth0" to get an IP address.
  33. 3. ping www.google.com
  34. 4. wget http://testdata.validation.linaro.org/media_codec/vpx_streams/vp90-2-tos_1280x534_tile_1x4_1306kbps.webm
  35. usb-ethernet > current
  36. 1. Run "dmesg" to find the device ID. Take "eth0" for example.
  37. usb-ethernet > dmesg
  38. *** Unknown syntax: dmesg
  39. usb-ethernet > run dmesg
  40. *** Unknown syntax: run dmesg
  41. usb-ethernet > pass dmesg
  42. Recording pass in /home/naresh/output-dir/usb-ethernet_61df2ee4-d3ab-400e-978a-6fc090332987/stdout.log
  43. 2016-11-16 15:26:33,600 - RUNNER.ResultParser: INFO: Result files saved to: /home/naresh/output-dir/usb-ethernet_61df2ee4-d3ab-400e-978a-6fc090332987
  44. --- Printing result.csv ---
  45. test,test_case_id,result,measurement,units,test_params
  46. usb-ethernet,usb-ethernet,pass,,,
  47.  
  48. naresh@linaro:~/git-local/2016/manual-test-milosz/test-definitions$
Add Comment
Please, Sign In to add comment