Closed dimmus closed 1 year ago
Not sure if is the same issue but while trying to package it, it fails on the tests step:
$ cd tests
$ make check
...
../config/test-driver: line 109: 719779 Segmentation fault "$@" > $log_file 2>&1
FAIL: ewe_ruler_test
../config/test-driver: line 109: 719784 Segmentation fault "$@" > $log_file 2>&1
FAIL: eflete_test
../config/test-driver: line 109: 719789 Segmentation fault "$@" > $log_file 2>&1
FAIL: alloc_test
../config/test-driver: line 109: 719794 Segmentation fault "$@" > $log_file 2>&1
FAIL: diff_test
../config/test-driver: line 109: 719799 Segmentation fault "$@" > $log_file 2>&1
FAIL: change_test../config/test-driver: line 109: 719779 Segmentation fault "$@" > $log_file 2>&1
FAIL: ewe_ruler_test
../config/test-driver: line 109: 719784 Segmentation fault "$@" > $log_file 2>&1
FAIL: eflete_test
../config/test-driver: line 109: 719789 Segmentation fault "$@" > $log_file 2>&1
FAIL: alloc_test
../config/test-driver: line 109: 719794 Segmentation fault "$@" > $log_file 2>&1
FAIL: diff_test
../config/test-driver: line 109: 719799 Segmentation fault "$@" > $log_file 2>&1
FAIL: change_test
../config/test-driver: line 109: 719804 Segmentation fault "$@" > $log_file 2>&1
FAIL: history_test
../config/test-driver: line 109: 719809 Segmentation fault "$@" > $log_file 2>&1
FAIL: logger_test
../config/test-driver: line 109: 719816 Segmentation fault "$@" > $log_file 2>&1
FAIL: config_test
../config/test-driver: line 109: 719832 Segmentation fault "$@" > $log_file 2>&1
FAIL: cursor_test
============================================================================
Testsuite summary for eflete 1.19.99.8225
============================================================================
# TOTAL: 9
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 9
# XPASS: 0
# ERROR: 0
That's right. Have the same result. Don't use make check
for a while.
I have solved the problem by manually editing test-driver, but in general config
folder with test-driver
is autogenerated.
There may be some issues with the most recent autotools. I need to investigate.
Started to update the test architecture according to the EFL's one. Segfault disappeared, but some tests failed.
Watch the progress in the tests branch.
Much better :)
So, works in general. See #17
Segfault fixed.
With
make check
get segmentation fault on../config/test-driver:112
.Before that get the compiler note:
/usr/local/include/check.h:358:69: note: expected ‘const TTest *’ but argument is of type ‘void (*)(int)’ 358 | CK_DLL_EXP void CK_EXPORT _tcase_add_test(TCase * tc, const TTest * ttest,
Need to investigate this.