Commit Graph

54 Commits

Author SHA1 Message Date
Konstantin Käfer
0480c10f90 [linux] let child process exit when parent hung up 2014-11-06 13:06:01 +01:00
Konstantin Käfer
2e38b5964c use IPv4 address instead of localhost to work around systems that don't resolve localhost to 127.0.0.1 2014-11-06 13:05:51 +01:00
Konstantin Käfer
3038cdbbf3 fix various issues in curl bindings related to tile cancelation 2014-11-06 13:05:51 +01:00
Konstantin Käfer
dfd9e9ce36 don't use a cache for test cases 2014-11-05 15:49:52 +01:00
Konstantin Käfer
dc5fcdbc6c rewrite the actual JSON file instead of a global search/replace 2014-11-05 11:41:49 +01:00
John Firebaugh
51c32247fb Update test/suite 2014-11-04 14:59:07 -08:00
Konstantin Käfer
885d61e5de use dirname() on copies of the parameter only
glibc's dirname() modifies the parameter
2014-11-04 06:45:21 -08:00
Konstantin Käfer
67eae5724a use execv and pass non-inline argument for gcc 2014-11-04 06:45:06 -08:00
Konstantin Käfer
b6c10e44c0 pass array with a single nullptr instead of nullptr for compatibility 2014-11-04 13:58:31 +01:00
Konstantin Käfer
4efb441008 Run tests using http requests
We now start a local HTTP server on port 2900 that serves the test fixtures. This is the same port we also use in the JS test suite

fixes #532
2014-11-04 12:45:01 +01:00
Konstantin Käfer
a50042349c Merge branch 'master' into platform-image 2014-10-31 16:33:45 -04:00
Konstantin Käfer
86230821e4 use test suite as submodule instead of using npm 2014-10-31 12:02:39 -04:00
Konstantin Käfer
8dda6482fa fix image y reversal 2014-10-30 15:56:17 -04:00
Konstantin Käfer
e3bc69b7e7 use CoreImage for decoding/encoding images on osx/ios 2014-10-30 12:02:28 -04:00
Konstantin Käfer
0e928b5204 make tests work 2014-10-24 17:44:51 +02:00
Konstantin Käfer
905c4294be Merge branch 'libuv-0.10-headless-display' into mason
Conflicts:
	common/http_request_baton_curl.cpp
	include/mbgl/map/map.hpp
	include/mbgl/util/uv_detail.hpp
	scripts/travis_before_install.sh
	setup-libraries.sh
	src/map/map.cpp
	src/storage/file_request_baton.cpp
	src/storage/http_request.cpp
	src/util/uv-messenger.c
2014-10-22 15:14:21 +02:00
Konstantin Käfer
2f3952b305 fix compile warnings 2014-10-22 11:00:34 +02:00
Mike Morris
dfb81fe9ce fix HeadlessView::readPixels return value, ref #480 2014-10-08 16:04:19 -04:00
Mike Morris
a1bc8c766d add HeadlessView::readPixels, fixes #480 2014-10-08 15:31:41 -04:00
Mike Morris
36b7bb0c09 clean up shared_ptr usage in HeadlessView 2014-10-07 16:26:21 -04:00
Mike Morris
3dec4933a9 Merge branch 'libuv010' into libuv-0.10-fix-context-shutdown
Conflicts:
	common/headless_view.cpp
	test/headless.cpp
2014-09-24 15:58:52 -04:00
John Firebaugh
4b98870e99 Support pixelRatio parameter for render tests 2014-09-22 14:05:15 -07:00
Mike Morris
65df83ce4c bump mapnik-packaging, remove unnecessary view.make_active calls 2014-09-19 16:16:44 -04:00
John Firebaugh
20762ee9f4 Use fresh map and view for each test 2014-08-28 13:09:15 -07:00
Konstantin Käfer
953e5524a9 fix basepath for headless stylesheets 2014-08-27 14:28:56 +02:00
John Firebaugh
3b43c4ddf2 Fix headless tests 2014-08-22 11:17:34 -07:00
John Firebaugh
4a110ff17e Use mapbox-gl-test-suite 2014-07-21 11:31:31 -07:00
John Firebaugh
86336ed838 Flip name and units and sign of rotation API
Angle -> Bearing
Radians -> Degrees
Clockwise -> Counterclockwise
2014-07-21 11:30:51 -07:00
Konstantin Käfer
4ea281c750 rename llmr => mbgl 2014-07-16 18:53:56 -07:00
Konstantin Käfer
bdc97d55d2 add enum class to unify parsing/stringification 2014-07-14 16:33:02 -07:00
Konstantin Käfer
fbec72cd47 allow formatted messages 2014-07-11 16:25:20 -07:00
Konstantin Käfer
f3c55eba9d add logging facility and check logs in tests 2014-07-11 13:55:18 -07:00
Konstantin Käfer
8fc4d61025 allow setting classes in the test case 2014-07-10 17:19:53 -07:00
Konstantin Käfer
6a202fc197 allow processing multiple renders per test 2014-07-10 16:59:48 -07:00
Konstantin Käfer
0cf3858edb cleanup 2014-07-10 15:13:46 -07:00
Konstantin Käfer
a8e71bcb7b change line width and add line-width test 2014-07-10 14:54:43 -07:00
Konstantin Käfer
ce541a962e fuzzy image comparison + create diff images 2014-07-09 15:07:48 -07:00
Konstantin Käfer
e1bd68f618 add antialiasing test 2014-07-08 15:05:10 -07:00
Konstantin Käfer
df65ecaa34 fix compile errors 2014-07-08 14:53:17 -07:00
Konstantin Käfer
af6091db5a update headless testing to be configurable 2014-07-08 14:38:49 -07:00
Konstantin Käfer
4c75c696b3 don't overwrite global symbol basename 2014-07-07 21:01:52 -07:00
Konstantin Käfer
49b0f098c2 add test fixture and image comparison 2014-07-07 20:31:42 -07:00
Konstantin Käfer
9b61e39ef3 move headless to their own files
[skip ci]
2014-07-07 13:51:06 -07:00
Konstantin Käfer
59967fd709 make headless rendering work again by setting the correct fbo 2014-07-07 12:39:03 -07:00
Justin R. Miller
9e9623d2ec fix up OS X/headless notify_map_change() for new API 2014-07-03 19:08:26 -07:00
Konstantin Käfer
08fc466107 load stylesheet file for headless test 2014-06-03 18:10:53 +02:00
Dane Springmeyer
a920ca8112 fix #269 2014-05-28 19:04:57 -07:00
Konstantin Käfer
1216a061d3 move to libuv for the rendering loop 2014-04-30 12:01:26 +02:00
Konstantin Käfer
ddc359f006 add more timers to headless test 2014-04-25 17:04:22 +02:00
Konstantin Käfer
3e92f36afc fix headless test case 2014-04-25 16:12:03 +02:00