Commit Graph

634 Commits

Author SHA1 Message Date
Hugues Delorme
035e9c2ba6 tests: fix failure of test test_stlb_write()
Compiler: GCC v4.9.2
OS : linux-x64
2015-09-14 17:30:22 +02:00
Hugues Delorme
fd19fa0726 Merge branch 'master' of https://github.com/fougue/gmio
Conflicts:
	tests/CMakeLists.txt
2015-09-14 11:33:08 +02:00
Hugues Delorme
5ecb401bc0 core_internal: disable unsused function 2015-09-14 11:27:27 +02:00
Hugues Delorme
7cce53a9c5 tests: prefix core files with "_core_" 2015-09-14 11:25:29 +02:00
Hugues Delorme
047ef555f3 test_core: move main() in main_test_core.c 2015-09-14 11:20:12 +02:00
Hugues Delorme
a6ef1bc94e tests: add TODO for test_core__buffer() 2015-09-14 11:10:42 +02:00
Hugues Delorme
10bf55f18f tests: add test_stl_internal.c 2015-09-14 11:10:19 +02:00
Hugues Delorme
e559694bb5 test_stl: move main() in main_test_stl.c 2015-09-14 11:09:12 +02:00
Hugues Delorme
4c40002732 tests/stl_utils: add gmio_stl_nop_get_triangle() 2015-09-14 10:42:38 +02:00
Hugues Delorme
6e87e42dfe tests: move UTEST_ASSERT() in utest_assert.h 2015-09-14 10:36:39 +02:00
Hugues Delorme
588da83012 tests: fix link error on Linux target (test_core) 2015-09-11 22:15:11 +02:00
Hugues Delorme
6e3a30bd8f travis: ensure sub-script fails on any error 2015-09-11 21:44:22 +02:00
Hugues Delorme
2346927bbc tests: fix compilation error with GCC v4.6 2015-09-11 16:42:02 +02:00
Hugues Delorme
445cd44b73 tests: add test test_stla_write() 2015-09-11 16:36:03 +02:00
Hugues Delorme
4bde8be51f tests: add gmio_string_trim_from_end() to utils 2015-09-11 16:35:34 +02:00
Hugues Delorme
287ad5c13f tests: add more tools to stl_utils 2015-09-11 16:35:04 +02:00
Hugues Delorme
ac7fd554f8 stla: fix two potential bugs in gmio_stla_read()
* more tolerant read of solid name (can even include "solid")
* set the attribute_byte_count to 0 (triangle passed to callback)
2015-09-11 16:34:18 +02:00
Hugues Delorme
aca4e77976 tests: refactor tests tools for STL in stl_utils.* 2015-09-11 10:51:25 +02:00
Hugues Delorme
ffea4bb58b tests: add tests for writing in STL binary format 2015-09-10 18:03:12 +02:00
Hugues Delorme
02dc1f734a tests: add new testing model solid_one_facet.be_stlb 2015-09-10 16:12:05 +02:00
Hugues Delorme
edff3f77f8 tests: add test_core 2015-09-10 16:10:33 +02:00
Hugues Delorme
f052c09053 travis: move build script in travis-build-script.sh 2015-09-10 15:01:57 +02:00
Hugues Delorme
e0d191aae6 travis: exclude some dirs from code coverage 2015-09-10 14:37:20 +02:00
Hugues Delorme
fb170ed824 README: add badge for license [skip ci] 2015-09-10 12:39:13 +02:00
Hugues Delorme
15079b0284 README: fix layout of badges 2015-09-10 12:23:34 +02:00
Hugues Delorme
40a2e8f932 README: add coverage badge 2015-09-10 12:19:55 +02:00
Hugues Delorme
f4bd4508bb travis: fix error with cat'ing obsolete coveralls dump file 2015-09-10 12:17:05 +02:00
Hugues Delorme
16fb28f6d9 travis: remove verbose messages from cpp-coveralls 2015-09-10 12:11:07 +02:00
Hugues Delorme
4255ed3fed travis: fix --root argument for cpp-coveralls 2015-09-10 12:03:00 +02:00
Hugues Delorme
6978fdbb52 travis: force root dir for cpp-coveralls 2015-09-10 11:59:24 +02:00
Hugues Delorme
783bdd510e travis: force the build dir for cpp-coveralls 2015-09-10 11:54:19 +02:00
Hugues Delorme
111031e4cb travis: dump the coveralls JSON data 2015-09-10 10:01:32 +02:00
Hugues Delorme
cdcf5f32fa travis: hopefull fix code coverage instrumentation 2015-09-10 09:40:17 +02:00
Hugues Delorme
da4b2537c0 travis: no out-of-source builds for coveralls 2015-09-09 18:11:31 +02:00
Hugues Delorme
cc2754dbc9 travis: fix error in script command 2015-09-09 17:55:13 +02:00
Hugues Delorme
7a126670bb travis: install package cpp-coveralls without requiring sudo 2015-09-09 17:53:27 +02:00
Hugues Delorme
59d98ab3f8 travis: fix script section for coveralls handling 2015-09-09 17:31:36 +02:00
Hugues Delorme
6ad22388e4 travis: print value of variable TRAVIS_COVERALLS 2015-09-09 17:25:14 +02:00
Hugues Delorme
2a65d7b55b cmake: add coveralls support 2015-09-09 17:13:12 +02:00
Hugues Delorme
2cf2751aef tests: fix build errors when GMIO_BUILD_SHARED_LIBS=ON on Windows 2015-09-09 12:39:45 +02:00
Hugues Delorme
e60938ea84 Use Doxygen grouping 2015-09-09 11:44:34 +02:00
Hugues Delorme
16fdbb799c gmio_stl: fix Doxygen warnings about invalid <name> HTML tag 2015-09-09 10:56:42 +02:00
Hugues Delorme
409e590f28 gmio_support: make OCC support more C-ish 2015-09-09 10:54:45 +02:00
Hugues Delorme
4c3976d91d tests: add comment about GCC bug 2015-09-08 17:58:31 +02:00
Hugues Delorme
c1ae2923da tests: let fake_support have its own CMakeLists.txt file
This should fix compilation errors when -DGMIO_BUILD_TESTS_FAKE_SUPPORT=ON
on travis CI.
Currently travis cmake version is v2.8.7 and it does not support
the INCLUDE_DIRECTORIES target property.
2015-09-08 17:57:59 +02:00
Hugues Delorme
26dadf6c21 travis: display cmake version, "make check" verbose 2015-09-08 17:31:39 +02:00
Hugues Delorme
ae1d5b8429 CI: build fake_support 2015-09-02 12:11:56 +02:00
Hugues Delorme
5852b97b44 cmake: dependant options for benchmarks, refactor 2015-09-02 12:08:14 +02:00
Hugues Delorme
36a4fd281e tests: add fake_support
fake_support allows to test compilation of gmio_support
is successful. It provides fake sources of the required
3rd party libraries (Qt and OpenCascade).
Fake sources allows to quickly check if nothing is broken
in gmio_support after API changes.
It will also be useful for CI.
2015-09-02 12:07:17 +02:00
Hugues Delorme
56bb6d8e65 cmake: simplifications
* All options reside in the top-level CMakeLists.txt file
* No need to find gmio library, just add "gmio" as a target dependency
* In tests, link to gmio library instead of recompiling needed source code
2015-09-01 18:20:31 +02:00