Lev Walkin
6db40f4c49
check OER in 32-bit and 64-bit modes
2017-08-02 13:32:21 -07:00
Lev Walkin
6cea145da8
first round-trip test working
2017-08-02 13:32:20 -07:00
Lev Walkin
4a06e6a8eb
add 135 encode-decode test
2017-08-02 13:32:19 -07:00
Lev Walkin
b2284470f9
add OER INTEGER constraint check
2017-08-02 13:32:18 -07:00
Lev Walkin
b33425f16b
fix OER stubs order
2017-08-02 13:32:18 -07:00
Lev Walkin
a7a240e8a1
ignore oer dependencies
2017-08-02 13:32:16 -07:00
Lev Walkin
ba68c91b71
empty OER stub generator
2017-08-02 13:32:16 -07:00
Lev Walkin
38b3e23d9d
fix bsd make
2017-07-06 14:00:05 +00:00
Lev Walkin
c56b566453
refactor autogeneration
2017-07-05 18:16:06 -07:00
Lev Walkin
221ce93307
work with BSD makefiles as well
2017-07-06 00:02:31 +00:00
Bi-Ruei, Chiu
c46137bddd
Merge velichkov's commit 598e7b45... to mouse07410's asn1c repository
...
Excerpt from commit log :
Do not generate coverage data for the test C code
When compiling tests remove the CODE_COVERAGE_CFLAGS flags from CFLAGS
and also add
CFLAGS = $(filter-out $(CODE_COVERAGE_CFLAGS), @CFLAGS@)
to 'skeleton/Makefile.am' to avoid compilation error in vlm's repository.
2017-05-08 17:04:38 +08:00
Bi-Ruei, Chiu
3dcf05bbb0
Fix some memory leakage found
2017-05-05 15:03:32 +08:00
Lev Walkin
fa40976f4a
reflect contributors
2017-03-26 06:37:38 -07:00
Lev Walkin
fbbe4edc8e
Merge pull request #126 from brchiu/fix_some_leak_reported_by_valgrind
...
Fix many memory leaks reported by valgrind
2017-03-26 05:55:00 -07:00
Lev Walkin
88271a5d7a
Merge branch 'master' into 64bit_test
2017-03-26 05:14:10 -07:00
Vasil Velichkov
3b434ca548
Exclude test files from the code coverage report
...
Link asn1c/tests with libasn1cskeletons.a in order to improve
skeletons coverage. When the skeleton files are copied the lcov will
report coverage for each copy separatly.
2017-03-26 04:42:26 -07:00
Vasil Velichkov
e318759ef2
Add code coverage using lcov and gcov
...
To generate the code coverage report you need gcov and lcov installed
and then execute
./configure --enable-code-coverage
make check-code-coverage
Writing directory view page.
Overall coverage rate:
lines......: 76.5% (10519 of 13759 lines)
functions..: 85.5% (491 of 574 functions)
branches...: 57.5% (7040 of 12250 branches)
file:///home/user/asn1c/asn1c-0.9.28-coverage/index.html
Open the index.html with a web browser
2017-03-26 04:42:26 -07:00
Lev Walkin
47c8e47506
Merge pull request #104 from velichkov/asn1c_make_identifier_segfault
...
Fix segmentation fault in asn1c_make_identifier
2017-03-26 04:12:27 -07:00
Vasil Velichkov
e5006dc658
Add check64-134.-gen-PER.c to EXTRA_DIST
...
becuse the `make dist` does not include it in the archive and
`make distckeck` fails on 64bit systems
2016-12-13 18:13:23 +02:00
Lev Walkin
f95c499d33
fix generated comments thanks to mkhon@github and Ymbirtt@github
2016-12-02 11:35:00 -08:00
Bi-Ruei, Chiu
4661dae415
Free memory allocated in importStandardModules()
2016-11-09 00:59:41 +08:00
Bi-Ruei, Chiu
b9adfc5f91
Free memory allocated in various functions
...
1. Add 'ref_cnt' field to asn1p_expr_t.
2. Initialize 'ref_cnt' field to zero when asn1p_expr_t is allocated.
3. Increase 'ref_cnt' field when asn1p_expr_t is cloned by asn1p_value_fromtype().
4. If 'ref_cnt' field of asn1p_expr_t is larger than zero, then asn1p_expr_free() only decrease its value.
5. Free memory pointed by fields of asn1p_expr_t and itself when 'ref_cnt' is zero and asn1p_expr_free() called.
6. Call asn1p_delete(asn) in main().
2016-11-09 00:17:25 +08:00
Lev Walkin
93ed494210
Merge branch 'master' of github.com:vlm/asn1c
2016-08-02 03:54:39 -07:00
Vasil Velichkov
b97d65a2b9
Fix test execution on RHEL7
...
The `make check` was failing with
make[3]: Entering directory `/home/asn1c/asn1c_github/asn1c/tests'
../../config/test-driver: invalid option: '-C'
Usage:
test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
[--expect-failure={yes|no}] [--color-tests={yes|no}]
[--enable-hard-errors={yes|no}] [--] TEST-SCRIPT
The '--test-name', '--log-file' and '--trs-file' options are mandatory.
make[3]: *** [check-src/check-03.-fwide-types.c.log] Error 2
2016-07-18 20:21:08 +03:00
Lev Walkin
e9b0fd77c9
some shellcheck recommendations
2016-07-03 00:10:07 -07:00
Lev Walkin
344520699c
oops; fixed argument substitution
2016-07-03 07:06:42 +00:00
Lev Walkin
92876d38dd
checked with shellcheck
2016-07-03 00:00:41 -07:00
Lev Walkin
f6e4fc9f22
make distcheck works now
2016-07-02 23:44:40 +00:00
Lev Walkin
d8cc847d87
working better with new automake test suite driver
2016-07-02 23:33:32 +00:00
Lev Walkin
f379fe3ac9
check-src has its own extra_dist
2016-03-14 04:30:27 -07:00
Lev Walkin
41a1da63e5
autoformatted (no semantic change)
2016-01-23 08:59:04 -08:00
Lev Walkin
438fe8796f
avoid compile warning
2016-01-23 08:32:57 -08:00
Lev Walkin
c6080fdd93
generate manual pages from Markdown instead of writing directly
2016-01-23 06:35:34 -08:00
Lev Walkin
62913d8b8e
?= was confusing some environments
2015-04-27 23:37:35 -07:00
Lev Walkin
288527ba84
formatting and English
2014-10-26 20:12:53 -07:00
Lev Walkin
47a6ae6b79
add -fincludes-quoted and -fline-refs into manual page
2014-10-23 02:16:21 -07:00
Lev Walkin
e687e75833
man page formatting
2014-10-23 02:07:54 -07:00
Lev Walkin
db361a6b08
remove capitalization
2014-10-23 00:30:47 -07:00
Lev Walkin
3278995748
merged patch #31
2014-10-12 18:51:52 -07:00
Lev Walkin
7102b52a5d
copyright years
2014-10-12 17:46:32 -07:00
Lev Walkin
1b03c79368
removed autotools intermediate files from source code; use autoreconf -iv.
2014-10-12 17:31:26 -07:00
Lev Walkin
3c7ac6cc93
conditional debug
2014-09-17 01:24:10 -07:00
Lev Walkin
15d38f45df
limit debug output log
2014-09-17 01:19:31 -07:00
Lev Walkin
58ecc7b4e3
disable long debug output and implement --enable-ASN_DEBUG to restore old behavior
2014-09-17 00:32:03 -07:00
Lev Walkin
68e9445009
non-standard options removed
2014-09-17 00:15:57 -07:00
Lev Walkin
64ea496c41
too non-standard option removed (set -o pipefail)
2014-09-16 23:40:26 -07:00
Lev Walkin
65907f0750
portability fixes
2014-09-14 17:20:51 -07:00
Lev Walkin
e0d321a650
version 0.9.26
2014-09-11 01:28:57 -07:00
Lev Walkin
b40ec41655
do not check certain features on non-64 systems
2014-02-24 00:57:18 -08:00
Lev Walkin
1550e5c94e
change type width detection logic
2014-02-10 11:07:14 -08:00