summaryrefslogtreecommitdiff
path: root/metrics/tests/binary-size/linux-clang8/style.json
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-11-27 23:33:49 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-11-28 12:34:22 +0200
commitd13562252da5b58926c59ac77ca4e6d047dfdbe2 (patch)
treedb53fb1237b9c996f4e49633d8ca5e14d9e918b0 /metrics/tests/binary-size/linux-clang8/style.json
parent09b724ea3362cafb302307d311553374e7aafc75 (diff)
downloadqtlocation-mapboxgl-d13562252da5b58926c59ac77ca4e6d047dfdbe2.tar.gz
[metrics] Isolate binary size metrics
Will give us a better view of what changed and by how much. Otherwise the test stops at the first failure.
Diffstat (limited to 'metrics/tests/binary-size/linux-clang8/style.json')
-rw-r--r--metrics/tests/binary-size/linux-clang8/style.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/metrics/tests/binary-size/linux-clang8/style.json b/metrics/tests/binary-size/linux-clang8/style.json
new file mode 100644
index 0000000000..7af68d5359
--- /dev/null
+++ b/metrics/tests/binary-size/linux-clang8/style.json
@@ -0,0 +1,24 @@
+{
+ "version": 8,
+ "metadata": {
+ "test": {
+ "operations": [
+ ["probeFileSize", "mbgl-glfw", "/src/workspace/next-linux-clang8-release/bin/mbgl-glfw", 0.01],
+ ["probeFileSize", "mbgl-offline", "/src/workspace/next-linux-clang8-release/bin/mbgl-offline", 0.01],
+ ["probeFileSize", "mbgl-render", "/src/workspace/next-linux-clang8-release/bin/mbgl-render", 0.01]
+ ],
+ "width": 64,
+ "height": 64
+ }
+ },
+ "sources": {},
+ "layers": [
+ {
+ "id": "background",
+ "type": "background",
+ "paint": {
+ "background-color": "green"
+ }
+ }
+ ]
+}