Commit Graph

87 Commits

Author SHA1 Message Date
Behdad Esfahbod e1302842d9 [ci] Remove unnecessary warning declarations
clang -Weverything still left to be ported to pragmas
2019-01-17 19:12:07 -05:00
Ebrahim Byagowi 97f67a3c3d
[ci] Enable more of GCC compile warnings (#1533) 2019-01-04 23:10:39 +03:30
cclauss 26c5b54fb0 CircleCI: Test for Python 3 syntax errors and undefined names (#1522)
Catch missing imports and errors like #1520 and #1521

__E901,E999,F821,F822,F823__ are the "_showstopper_" [flake8](http://flake8.pycqa.org) issues that can halt the runtime with a SyntaxError, NameError, etc. Most other flake8 issues are merely "style violations" -- useful for readability but they do not effect runtime safety.
* F821: undefined name `name`
* F822: undefined name `name` in `__all__`
* F823: local variable name referenced before assignment
* E901: SyntaxError or IndentationError
* E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
2018-12-31 07:00:43 +03:30
Ebrahim Byagowi b65645bbaf
[ci] Re-enable llvm-gcc-4.2 bots (#1429) 2018-11-29 23:57:50 +03:30
Ebrahim Byagowi 19863c8059
[test][aat] Add a test and make macOS runners faster (#1422) 2018-11-28 20:28:42 +03:30
Ebrahim Byagowi b518e5af9f
Add 10.13.6 aat fonts tests and bot (#1409) 2018-11-25 01:39:00 +03:30
Ebrahim Byagowi 341851efe1
[aat] Add macOS specific tests (#1404) 2018-11-23 15:40:05 +03:30
Ebrahim Byagowi 073d0a9fbc
[ci] minor 2018-11-08 10:59:50 +03:30
Ebrahim Byagowi f7a08cd41d
Fix extra semicolon issues and test that on CI (#1330) 2018-10-30 11:29:09 +03:30
Ebrahim Byagowi 1b7bfb5e18
[cmake] Make build of tests and subset optional (#1329) 2018-10-30 10:19:40 +03:30
Ebrahim Byagowi e1b8e933f0
[ci] Disable llvm-gcc
#define Null(Type) Null<typename hb_remove_const<typename hb_remove_reference<Type>::value>::value>()

raises:
  hb-blob.cc: In function 'hb_blob_t* hb_blob_get_empty()':
  hb-blob.cc:194: error: using 'typename' outside of template
  hb-blob.cc:194: error: using 'typename' outside of template

Removing "typename"s fixes the issue but makes newer compiler fail apparently.

Probably downstream can patch that locally till we get a solution.
2018-10-23 09:23:48 +03:30
Ebrahim Byagowi 0ecddad7c5
[ci] Disable flaky -windows-x64 and add a comment for iOS 2018-10-22 00:44:28 +03:30
Ebrahim Byagowi 964ae32aac
Run valgrind on run-shape-fuzzer only when RUN_VALGRIND is set (#1285) 2018-10-20 07:39:18 +03:30
Ebrahim Byagowi 093c7c4a54 [ci] Run valgrind on test/api
run-shape-fuzzer-tests.py automatically runs valgrind if see available
but test/api runs it by request, we probably should normalize the approaches
later
2018-10-19 19:46:41 +03:30
Ebrahim Byagowi b7cef8cb1d Enable valgrind and dedicate a bot to it 2018-10-19 09:39:36 +03:30
Ebrahim Byagowi 03e144135b
[ubsan] Use unsigned int instead enum where needed (#1270)
Actually the check is right,

On -myanmar.hh, on that particular switch, OT_C is indic_category_t
but OT_D is myanmar_category_t so we are mixing the types in one variable.

And on -arabic.cc, step can goes one number higher than step_t enum in the
loop so we are actually using it as an unsinged int.
2018-10-18 11:06:37 +03:30
Ebrahim Byagowi af99b20dfd
[ci/ubsan] Disable enum sanitization
Behdad apparently not interested on them
2018-10-18 08:35:20 +03:30
Ebrahim Byagowi 187df7d7a9
[circleci] Add an iOS bot (#1233) 2018-10-10 17:12:52 +03:30
Ebrahim Byagowi f58c517589
Make msan output a little more readable 2018-10-06 22:42:56 +03:30
Ebrahim Byagowi 5de2d9cdbd
Minor, fix double-promotion warnings (#1221) 2018-10-04 02:14:18 +03:30
Ebrahim Byagowi c2c7e6471c
State our graphite2 dependency no-deprecated compile flag (#1220) 2018-10-04 00:29:40 +03:30
Ebrahim Byagowi 6353cc1f83
[circleci] Fix some of warnings from clang-everything bot (#1211)
* -Wshift-sign-overflow
* -Wmissing-prototypes
2018-10-02 21:39:19 +03:30
Ebrahim Byagowi 9742679b82
[circleci] Remove some of the not needed flags 2018-10-02 03:20:48 +03:30
Ebrahim Byagowi f72b748371
[circleci] Fix "msan" and "everything" bots (#1205) 2018-10-02 00:16:08 +03:30
Ebrahim Byagowi 0fa1edbd3b
[circleci] Couple of fixes (#1200)
* Raise error on warnings on -everything
* Enable fontconfig to two bots
* Fix msan bot now that all of its real complain are gone
2018-10-01 09:40:29 +03:30
Behdad Esfahbod 3babb0813c [msan] Disable icu explicitly 2018-09-30 20:02:30 +02:00
Behdad Esfahbod dc9b47ae87 [msan] Remove uninstrumented libraries 2018-09-30 18:35:12 +02:00
Ebrahim Byagowi 0a89f9572f
[circleci] Pass ‌freetype compile flags to right place 2018-09-30 17:44:15 +03:30
Ebrahim Byagowi ad701f05cc
[circleci] Use an instrumented freetype on msan bot 2018-09-30 17:30:42 +03:30
Ebrahim Byagowi 57aabbc29e
[circleci] Another on fixing msan 2018-09-30 16:31:28 +03:30
Ebrahim Byagowi 24f148df3e
[circleci] minor 2018-09-30 14:46:56 +03:30
Ebrahim Byagowi 0a9aab6722
[circleci] Try to fix msan bot 2018-09-30 14:45:43 +03:30
Ebrahim Byagowi 06be2aa93f
[ci] Build glib and freetype and enable msan bot (#1198) 2018-09-30 00:15:25 +03:30
Ebrahim Byagowi 678beff64c
[circleci] Add -Wno-reserved-id-macro to clang-everything 2018-09-29 10:16:14 +03:30
Ebrahim Byagowi 909a07b587
[circleci] Improve clang-everything bot log, more to come
#1196
2018-09-29 03:10:13 +03:30
Ebrahim Byagowi 0c1d852bc4
Use clang for compiling freetype for tsan bot 2018-09-27 11:53:17 +03:30
Ebrahim Byagowi c9c75fe3d9
[ci] Compile freetype on tsan and put sanitizer flags on correct places (#1188) 2018-09-27 00:08:06 +03:30
Ebrahim Byagowi 4b4be7701f
[circle] Add an obsessive clang bot (#1178) 2018-09-25 09:24:35 +03:30
Behdad Esfahbod 8282e881b5 Disable msan bot again
Fixes https://github.com/harfbuzz/harfbuzz/issues/1175
2018-09-24 19:43:01 -04:00
Ebrahim Byagowi 1020333960
[circleci] Update sanitizer bots with newer clang and Ubuntu version (#1176) 2018-09-25 01:00:32 +03:30
Behdad Esfahbod 12b8baa765 [msan] Enable again to get a build log, and try to play with suppressions 2018-09-24 17:22:39 -04:00
Behdad Esfahbod aec0d3cbc9 [ubsan] Re-enable now that it passes locally 2018-09-24 13:12:15 -04:00
Behdad Esfahbod a96508cfc9 [msan] Add MSAN_OPTIONS=exitcode=42
Default exit value is 77, which causes autotools to "skip" test.
2018-09-24 12:52:42 -04:00
Behdad Esfahbod 45f5aa9790 [circleci] Disable msan and ubsan builds
https://github.com/harfbuzz/harfbuzz/issues/1174
https://github.com/harfbuzz/harfbuzz/issues/1175
2018-09-24 12:43:29 -04:00
Ebrahim Byagowi ae39a53f55 Add bots with address- and thread-sanitizer 2018-09-23 15:23:29 -07:00
Ebrahim Byagowi 5d8cafcf6a
Improve nommap naming and use C style comments on create_from_file (#1084) 2018-07-01 01:54:14 +04:30
Ebrahim Byagowi 71971800ed
[ci] Don't fail on apt update and revive clang-O3-O0 2018-06-27 18:14:52 +04:30
Ebrahim Byagowi 35ce8f31d3
Unify our pipe reader with the fallback reader (#1068)
And assign one bot to use the path always using NOMMAPFILEREADER token.

It's limited to 200mb so no more fun with using /dev/zero on hb-view!
2018-06-25 22:23:43 +04:30
Ebrahim Byagowi 38ae0add70
[ci] Revive the SunCC bot
* Adds libnsl to the bot as it is now needed apparently
* Disables hb-icu, apparently the newer ICU itself is not compatible with SunCC
2018-05-23 13:37:57 +04:30
Ebrahim Byagowi 1d3f4f8351 [ci] Add a build only apple-gcc-4.2 i686 bot 2018-03-25 19:42:14 +04:30