diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2016-06-29 14:04:43 +0200 |
---|---|---|
committer | Ivo van Dongen <info@ivovandongen.nl> | 2016-07-07 10:08:43 +0200 |
commit | 4ff12a8269708f9b989c1ec45d5cca0b7b5db284 (patch) | |
tree | bacb614a0b5afbcec6c881eb3cbac6b243ba0321 | |
parent | 5e2847396cff58edb9fa68282b9d7f99720023ee (diff) | |
download | qtlocation-mapboxgl-4ff12a8269708f9b989c1ec45d5cca0b7b5db284.tar.gz |
[android] #5456 - Excluded tests on android that don't run with filters instead of commenting out
-rw-r--r-- | test/test.gypi | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/test/test.gypi b/test/test.gypi index 6a1daa8e1a..93f4b4c70a 100644 --- a/test/test.gypi +++ b/test/test.gypi @@ -18,11 +18,74 @@ ], 'sources': [ + 'util/async_task.cpp', + 'util/geo.cpp', + 'util/image.cpp', + 'util/mapbox.cpp', + 'util/memory.cpp', + 'util/merge_lines.cpp', + 'util/run_loop.cpp', + 'util/number_conversions.cpp', + 'util/text_conversions.cpp', + 'util/thread.cpp', + 'util/thread_local.cpp', + 'util/tile_cover.cpp', + 'util/timer.cpp', + 'util/token.cpp', + 'util/work_queue.cpp', + 'util/projection.cpp', + 'algorithm/covered_by_children.cpp', 'algorithm/generate_clip_ids.cpp', 'algorithm/mock.hpp', 'algorithm/update_renderables.cpp', + 'api/annotations.cpp', + 'api/api_misuse.cpp', + 'api/repeated_render.cpp', + 'api/render_missing.cpp', + 'api/set_style.cpp', + 'api/custom_layer.cpp', + + 'geometry/binpack.cpp', + + 'gl/object.cpp', + + 'map/map.cpp', + 'map/transform.cpp', + + 'math/minmax.cpp', + 'math/clamp.cpp', + + 'text/quads.cpp', + + 'tile/geometry_tile_data.cpp', + 'tile/tile_id.cpp', + + 'storage/offline.cpp', + 'storage/offline_database.cpp', + 'storage/offline_download.cpp', + 'storage/asset_file_source.cpp', + 'storage/default_file_source.cpp', + 'storage/http_file_source.cpp', + 'storage/online_file_source.cpp', + 'storage/headers.cpp', + 'storage/resource.cpp', + + 'style/glyph_store.cpp', + 'style/source.cpp', + 'style/style.cpp', + 'style/style_layer.cpp', + 'style/tile_source.cpp', + 'style/filter.cpp', + 'style/functions.cpp', + 'style/style_parser.cpp', + + 'sprite/sprite_atlas.cpp', + 'sprite/sprite_image.cpp', + 'sprite/sprite_parser.cpp', + 'sprite/sprite_store.cpp', + 'src/mbgl/test/stub_file_source.hpp', 'src/mbgl/test/stub_file_source.cpp', 'src/mbgl/test/util.hpp', @@ -63,7 +126,26 @@ }, { 'cflags_cc': [ '<@(cflags_cc)' ], }], + + #Exclude tests that don't run on android yet + ['target_platform == "android"', { + 'sources!': ['util/async_task.cpp'], # Doesn't compile?? + 'sources/': [ + ['exclude', 'util/.*(hpp|cpp)$'], + ['exclude', 'api/.*(hpp|cpp)$'], + ['exclude', '^geometry/.*(hpp|cpp)$'], + ['exclude', 'gl/object.cpp'], + ['exclude', 'map/.*(hpp|cpp)$'], + ['exclude', 'math/.*(hpp|cpp)$'], + ['exclude', 'text/.*(hpp|cpp)$'], + ['exclude', 'tile/.*(hpp|cpp)$'], + ['exclude', 'storage/.*(hpp|cpp)$'], + ['exclude', 'style/.*(hpp|cpp)$'], + ['exclude', 'sprite/.*(hpp|cpp)$'], + ] + }] ], + 'link_settings': { 'conditions': [ ['OS == "mac"', { |