Commit Graph

15360 Commits

Author SHA1 Message Date
Alexander Shalamov
9d758564be [core] Update changelog 2019-12-17 15:46:10 +02:00
Alexander Shalamov
00866c348e [metrics] Add baselines for a new test 2019-12-17 15:46:10 +02:00
Ansis Brammanis
aa543e43e5 [core] Fix really overscaled lines #16018 2019-12-17 15:46:10 +02:00
Alexander Shalamov
493d2ca253 [core] Update changelog 2019-12-17 14:25:19 +02:00
Alexander Shalamov
d883b740a2 [metrics] Add new baselines 2019-12-17 14:25:19 +02:00
Alexander Shalamov
ffb4998d28 [core] Unskip render tests 2019-12-17 14:25:19 +02:00
Andrew Hay Kurtz
da4eb01bc7 [core] Enable 'line-sort-key' and 'fill-sort-key' layout properties (#15839)
- Generate style code for 'line-sort-key' and 'symbol-sort-key'

- Add new layout properties to FillLayer::Impl, FillBucket, and FillLayerFactory

- Fix consistency of paint and layout properties type alias usage in FillBucket, LineBucket

- Add optional feature sorting to fill and line Layout creation

- Enable node render tests for fill-sort-key and line-sort-key

- Fix FillBucket test construction

- Prefer emplace_back to push_back for PatternFeature container

- Fix buggy static_cast for PatternFeature indices

- Maintain sort of features as they are created

- Switch pattern layout features container to list from vector for better insert performance

- Fix formatting expected by sanity check

- Use subclass PatternLayoutSorted to work around lack of template functions

- Fix to retain source order for features with equivalent sort keys during sorting

- [core] Fix clang-format

- [core] Address review comments

- [core] Pass inserting strategy class at compile time

- [core] Use sorted strategy only if sort key is defined in layout

- [core] Update style generator

- [core] Merge PatternLayout and PatternLayoutSorted classes

  - Use static methods for inserter strategies
  - Merge PatternLayout and PatternLayoutSorted classes
2019-12-17 14:25:19 +02:00
Thiago Marcos P. Santos
c3854cedc2 [render-tests] Fix tests not rendering when both metrics and render fails 2019-12-17 12:38:42 +03:00
Mikhail Pozdnyakov
6c2461baf9 [qt] Fix usage of QNetworkReply after deletion 2019-12-17 11:31:21 +02:00
Thiago Marcos P. Santos
4016ad0f67 [metrics] Remove **/token from .gitignore
This explains why these tests were not being rebaselined...
2019-12-17 11:46:04 +03:00
Thiago Marcos P. Santos
ad1a7c595d [render-test] Cleanup on the render tests results
Simplify the code path and make it print both rendering error and
metrics on fail.
2019-12-16 22:52:01 +02:00
Thiago Marcos P. Santos
e298435206 [metrics] Add new baselines for Linux Clang8 and macOS 2019-12-16 22:52:01 +02:00
Thiago Marcos P. Santos
893363f382 [metrics] Rebaseline Linux GCC8 metrics
Sames as for Android, remove ignored and probes not in use.
2019-12-16 22:52:01 +02:00
Thiago Marcos P. Santos
ef9444debd [metrics] Rebaseline Android tests
This was done using the new baseline bot :-)

- Removed metrics from ignored tests.
- Removed memory metrics for render tests, not in use.
2019-12-16 22:52:01 +02:00
Thiago Marcos P. Santos
b7e26d1ff2 [metrics] Delete test that doesn't make sense
This test is ignored because we expect it to "ignore but fail".

But it will generate a fatal error because it doesn't have the
metrics file, thus should have been skipped instead.
2019-12-16 22:52:01 +02:00
Thiago Marcos P. Santos
8869d09b25 [build] Collect and publish new baselines
Also fail the bot in case there are new baselines.
2019-12-16 22:52:01 +02:00
Thiago Marcos P. Santos
0dbe80fe66 [build] If not found, use the cache from the sanity checks bot
Better than initializing git submodules from scratch.
2019-12-16 22:52:01 +02:00
Thiago Marcos P. Santos
970cabe0eb [build] Reorganize the render tests
Move everything that might collect metrics to the metrics/ directory,
the only test manifests inside the render-test/ directory are the
unit tests of the probes.
2019-12-16 22:52:01 +02:00
Thiago Marcos P. Santos
dc61aa7691 [node] Do not run query tests
We run them now with the native tool.
2019-12-16 22:52:01 +02:00
Thiago Marcos P. Santos
1c138124a6 [render-test] Fix metrics passing when failing
Metrics will now fail, but the tool will return 0 when *ONLY* metrics
fail, to make the bot continue. We will also run ignored tests and
check if they are ignored but passing.
2019-12-16 22:52:01 +02:00
Mikhail Pozdnyakov
65140e3e60 [test runner] Explicitly initialize TestContext POD members 2019-12-14 23:49:58 +02:00
m-stephen
f9b7284276 [ios, macos]Remove iOS/macOS codes from native codes (#16031)
* add source/header

* add ios files

* add configs

* modify name

* http_file_source

* add interface delegate when map init

* fix name

* fix delegate name

* support mac os

* add mac os support

* make optional delegate when mac os

* mac/ios difference

* add ios change log

* cancel iOS/mac OS judgement

* cancel iOS/mac OS judgement

* cancel judgement in .m

* update

* update

* update http_file_source

* update ios

* update mac os

* add mac os file

* add mac os file to `.cmake`

* change names

* add log & fix format

* reset changelog commit

* update changelog

* rename iOS network manager

* Add a test configuration(same as default configuration) when mac os run tests

* re-add account type into `http_file_source`

* refactor
2019-12-14 13:38:46 +08:00
Chloe Krawczyk
5538b6f41d add pr template to this repo (#16054)
let's go with this for now and make any additional changes in future prs!
2019-12-13 16:01:50 -08:00
Alexander Shalamov
1fc4cd649e [test-runner] Fix network probe 2019-12-13 21:07:56 +02:00
Alexander Shalamov
aa2a26766a [core] Create gl-native changelog with entries since the last release 2019-12-13 16:06:07 +02:00
Mikhail Pozdnyakov
515cb4e0fc [render test] Fix probes failure reports 2019-12-13 15:34:06 +02:00
Mikhail Pozdnyakov
06a2930342 [test runner] Refactor injected probes operations code 2019-12-13 15:34:06 +02:00
Mikhail Pozdnyakov
a3cafbf391 [glfw] TestOperation -> TestOperationSerializer 2019-12-13 15:34:06 +02:00
Mikhail Pozdnyakov
b2d06b8a17 [test runner] Split operations parsing and execution 2019-12-13 15:34:06 +02:00
Mikhail Pozdnyakov
9901167936 [core] Add style::Layer(Impl) constructor 2019-12-13 15:34:06 +02:00
Mikhail Pozdnyakov
426f714c04 [test runner] Introduce TestOperation 2019-12-13 15:34:06 +02:00
Mikhail Pozdnyakov
4a30f74699 [test runner] Introduce generic TestContext 2019-12-13 15:34:06 +02:00
Thiago Marcos P. Santos
8b9a4571a4 [build] Make the build fail when shadowing variables 2019-12-12 17:44:11 +02:00
Thiago Marcos P. Santos
3bbea2e30c [core] Fix -Wshadow when using GCC 4.9 2019-12-12 17:44:11 +02:00
Thiago Marcos P. Santos
79768743d8 [android] Fix -Wshadow on Android build 2019-12-12 17:44:11 +02:00
Thiago Marcos P. Santos
7dad386f46 [tests] Fix -Werror=shadow issues in the unit tests 2019-12-12 17:44:11 +02:00
Alexander Shalamov
91ba9b655e [test-runner] Don't update nor create metrics baseline for ignored test 2019-12-12 17:03:25 +02:00
Thiago Marcos P. Santos
31742317e8 [build] Remove "wrapper" parameter
Make it a step of the Linux configuration, since it only makes
sense for Linux.
2019-12-12 14:50:22 +02:00
Alexander Shalamov
f590b1082a [test-runner] Fix -Werror=shadow issues in test runner 2019-12-12 13:26:30 +02:00
Thiago Marcos P. Santos
3679315633 [build] Better isolate compiler flags
Previously we had UndefinedBehavior mixed with other sanitizers, in
special implicit conversions and overflows.

Also, run the sanitizers in Release configuration, so they will run
faster. -O1 is just needed for perfectly nice stack traces.

Also, moving the flags to an interface will prevent them to leak
to our external dependencies.
2019-12-11 17:12:25 +02:00
Thiago Marcos P. Santos
3b14aef334 [build] Upload nitpick artifacts
Upload diffs when the sanity bot complains about some wrong
formatting of the code or buildsystem.
2019-12-11 16:39:03 +02:00
Vladimir Agafonkin
9d2de382bf [build] remove obsolete code in shader generation (#14906) 2019-12-11 13:58:35 +02:00
zmiao
f848f07ad9 [metrics] Run Android RenderTestRunner bot in rebaseline mode (#16036) 2019-12-11 11:50:27 +02:00
Alexander Shalamov
c0fee57367 [test-runner] Add desctiption for --update command 2019-12-10 22:02:58 +02:00
Mikhail Pozdnyakov
e31ad307f4 [test runner] Report absolute path to the results html file 2019-12-10 19:04:45 +02:00
Ansis Brammanis
5559a9aad1 update mapbox-gl-js (#16022) 2019-12-09 11:16:13 -05:00
Alexander Shalamov
af0873720e [metrics] Run gfx, network and memory probes in 'rebaseline' mode 2019-12-09 17:53:34 +02:00
Alexander Shalamov
a9ba572118 [test-runner] Add rebaseline flag
Rebaseline flag allows to update or create new metric, in cases when
metric check is failed or expected metric is missing.
2019-12-09 17:53:34 +02:00
Alexander Shalamov
3d0001642b [test-runner] Simplify update option and remove obsolete ifdefs 2019-12-09 17:53:34 +02:00
Alexander Shalamov
7eee124677 [metrics] Create gcc8-release metrics configuration 2019-12-09 17:53:34 +02:00