Index: tools/perf/scripts_smoke_unittest.py |
diff --git a/tools/perf/scripts_smoke_unittest.py b/tools/perf/scripts_smoke_unittest.py |
index c8ea208794a02e8aa8c9a4dd7661eae0640d54a9..a9e3e3240e98b6b75cc2e2eb50155e29de0f8a2f 100644 |
--- a/tools/perf/scripts_smoke_unittest.py |
+++ b/tools/perf/scripts_smoke_unittest.py |
@@ -48,6 +48,11 @@ class ScriptsSmokeTest(unittest.TestCase): |
self.assertIn('optional arguments:', stdout) |
self.assertEquals(return_code, 0) |
+ def testRunRecordWprList(self): |
+ return_code, stdout = self.RunPerfScript('record_wpr --list-benchmarks') |
+ self.assertIn('kraken', stdout) |
+ self.assertEquals(return_code, 0) |
+ |
def testRunBenchmarkListJSONListsOutBenchmarks(self): |
tmp_file = tempfile.NamedTemporaryFile(delete=False) |
tmp_file_name = tmp_file.name |