• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gap-system / gap / 11888
4%

Build:
DEFAULT BRANCH: master
Ran 03 May 2020 01:58PM UTC
Jobs 11
Files 760
Run time 151min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
11888

push

travis-ci

fingolfin
kernel: introduce GAP_TRY/GAP_CATCH helper macros

These are meant to replace uses of TRY_IF_NO_ERROR/CATCH_ERROR outside
of read.c, as those macros really were meant for code in the GAP
scanner/reader; for other code, they are dangerous to use because of the
way they interact with `STATE(NrError)`.

The new macros have the added benefit that they automatically save
and restore the value of `STATE(ReadJmpError)`, so it is safe to use
them recursively.

For now we only switch to GAP_TRY/GAP_CATCH in places were it is clear
that doing so is safe (as in: not touch `STATE(NrError)` is OK). To be
explicit, here are arguments why each change ought to be safe:

- gap.c, reading lib/init.g: if this catches, then we call `Panic`, so
  the value `STATE(NrError)` is irrelevant
- `FuncSERIALIZE_TO_NATIVE_STRING`: did not change `STATE(NrError)`
- `FuncDESERIALIZE_NATIVE_STRING`: did not change `STATE(NrError)`
- `ThreadedInterpreter`: this is the outermost handler for a thread;
  once we catch an error here, we exit this function, which then leads
  to the termination of the thread (for that reason, we also get rid of
  the `ClearError` and `SWITCH_TO_OLD_LVARS` at the end -- they are
  pointless
- `FuncWITH_TARGET_REGION`: did not change `STATE(NrError)`
- `Call0ArgsInNewReader`, `Call1ArgsInNewReader`: these save & restore
  the value of `STATE(NrError)` anyway

23 of 28 new or added lines in 5 files covered. (82.14%)

6 existing lines in 3 files now uncovered.

278934 of 330601 relevant lines covered (84.37%)

31767178.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11888.1 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="docomp teststandard") 03 May 2020 02:01PM UTC 0
76.87
Travis Job 11888.1
2 11888.2 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="docomp teststandard" ABI=32 CONFIGFLAGS="") 03 May 2020 01:58PM UTC 0
76.81
Travis Job 11888.2
3 11888.3 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="docomp teststandard" ABI=64 HPCGAP=yes) 03 May 2020 02:04PM UTC 0
77.1
Travis Job 11888.3
4 11888.4 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="testpackages testinstall-loadall" ABI=64) 03 May 2020 02:08PM UTC 0
72.27
Travis Job 11888.4
6 11888.6 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="docomp testinstall") 03 May 2020 02:14PM UTC 0
72.31
Travis Job 11888.6
8 11888.8 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES=testmanuals) 03 May 2020 02:15PM UTC 0
71.39
Travis Job 11888.8
9 11888.9 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES=testbugfix CONFIGFLAGS="--enable-memory-checking") 03 May 2020 02:17PM UTC 0
59.76
Travis Job 11888.9
13 11888.13 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="testinstall" JULIA=yes CONFIGFLAGS="--disable-Werror") 03 May 2020 02:22PM UTC 0
72.18
Travis Job 11888.13
14 11888.14 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="docomp testinstall") 03 May 2020 02:32PM UTC 0
72.47
Travis Job 11888.14
15 11888.15 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="docomp testinstall") 03 May 2020 04:27PM UTC 0
72.48
Travis Job 11888.15
16 11888.16 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="docomp testinstall") 03 May 2020 02:26PM UTC 0
72.48
Travis Job 11888.16
Source Files on build 11888
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11888
  • edc5339c on github
  • Prev Build on master (#11886)
  • Next Build on master (#11900)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc