diff.txt
1
diff --git a/scripts/benchmarks_ci.py b/scripts/benchmarks_ci.py
2
index 0a94768..7c93172 100755
3
--- a/scripts/benchmarks_ci.py
4
+++ b/scripts/benchmarks_ci.py
5
@@ -394,17 +394,21 @@ def __run_benchview_scripts(args: list, verbose: bool) -> None:
6
             'Diagnostic' if args.enable_pmc else 'Profile'
7
 
8
     # Find all measurement.json
9
-    measurement_jsons = []
10
     with push_dir(bin_directory):
11
         for framework in args.frameworks:
12
             glob_format = '**/%s/%s/measurement.json' % (
13
                 args.configuration,
14
                 framework
15
             )
16
-            for measurement_json in iglob(glob_format, recursive=False):
17
+
18
+            measurement_jsons = []
19
+            for measurement_json in iglob(glob_format, recursive=True):
20
                 measurement_jsons.append(measurement_json)
21
 
22
-            jobGroup = args.category if args.category else '.NET Performance'
23
+            jobGroup = '.NET Performance (%s)' % args.category \
24
+                if args.category \
25
+                else '.NET Performance'
26
+
27
             if len(args.frameworks) > 1:
28
                 benchview_config['Framework'] = framework
29
 
30
diff --git a/scripts/benchview.py b/scripts/benchview.py
31
index 86cde03..9be90c1 100755
32
--- a/scripts/benchview.py
33
+++ b/scripts/benchview.py
34
@@ -149,7 +149,7 @@ class BenchView:
35
     ) -> None:
36
         '''Wrapper around BenchView's submission.py'''
37
         if not measurement_jsons:
38
-            return
39
+            raise ValueError("No `measurement.json` were specified.")
40
 
41
         cmdline = [
42
             self.python, path.join(self.tools_directory, 'submission.py'),
Loading...