Yann Weber
|
7dbc99e4a0
|
Fixing issue #4 for logfiles
Not done for stdin
|
7 years ago |
Yann Weber
|
fe382fff5f
|
ttail_format_guess() do not take ttail_t* as argument
Making this function usable by logfiles and stdin format autodetection
|
7 years ago |
Yann Weber
|
55ae3693aa
|
Fix #6 now make dist produce a good tarball
|
7 years ago |
Yann Weber
|
5af21265b0
|
Tests + bugfix for ttail_tm_cmp() function
|
7 years ago |
Yann Weber
|
014d5ffb1f
|
Changed headers of _ttail_file_(next|start)_line()
|
7 years ago |
Yann Weber
|
9e1539a780
|
Add macros to define test suite & runner
Four macros were added :
- TTAIL_CHECK_START(char *test_suite_str, char *test_case_str)
- TTAIL_SET_FIXTURE(void (*setup)(), void (*teardown)())
- TTAIL_ADD_TEST( libcheck_test test)
- TTAIL_CHECK_END
|
7 years ago |
Yann Weber
|
3a4fe6be94
|
Add tests for _ttail_norm_dates
|
7 years ago |
Yann Weber
|
22183a4d4b
|
Splitting ttail search tests
|
7 years ago |
Yann Weber
|
1218a70822
|
Spliting ttail init tests
|
7 years ago |
Yann Weber
|
fe2367eb13
|
New tests organisation
tests/Makfile.am is now generated using tests/regen.sh .
bootstrap.sh has been updated.
Argument parsing tests are splitted
|
7 years ago |
Yann Weber
|
6734c8ad36
|
Preparing autoformat detection on loglines
|
7 years ago |
Yann Weber
|
da3327c614
|
Forgotten tests sample
|
7 years ago |
Yann Weber
|
ed5338da15
|
Updated tests
|
7 years ago |
Yann Weber
|
6ed34f4e0f
|
Tests update
|
7 years ago |
Yann Weber
|
93415c6adb
|
Enhancement in ttail init checking function
To handle case where none of the file given as argument is readable
|
7 years ago |
Yann Weber
|
9f5cf21919
|
Tests + bugfix
Testing ttail_search_closest_files() on multiple files
|
7 years ago |
Yann Weber
|
5e5f730815
|
Bugfix + tests for ttail_search_files functions
|
7 years ago |
Yann Weber
|
533bb6b52e
|
Adding missing arguments to search functions
|
7 years ago |
Yann Weber
|
71dc7b9d3b
|
Updated the search_closest_files function
|
7 years ago |
Yann Weber
|
261248f6a7
|
Add some inline functions + utility function
Set some function inlune and implement an utility function
for file searching functions.
|
7 years ago |
Yann Weber
|
a01866eea7
|
Implements a struct tmp comparison function
|
7 years ago |
Yann Weber
|
55b331a15e
|
Add tests on ttail_logline2date() function
|
7 years ago |
Yann Weber
|
876cc00dec
|
Bugfixes in logfile minmax + tests update
|
7 years ago |
Yann Weber
|
a4c65684bf
|
Implement & use a ttail_set_fmt() + tests
|
7 years ago |
Yann Weber
|
cacdfc3534
|
Memory leak fixes
|
7 years ago |
Yann Weber
|
5de36b3ecc
|
Implements logline subst + tests
|
7 years ago |
Yann Weber
|
defd1864d6
|
Add doxygen support
|
7 years ago |
Yann Weber
|
ce41eddb7a
|
Add another prefix subst method + tests
Now we can specify a constant length to cut
|
7 years ago |
Yann Weber
|
b0b9e0a77e
|
Move options declaration + warn fixes
|
7 years ago |
Yann Weber
|
89739fc1e6
|
**temporary commit**
|
7 years ago |
Yann Weber
|
92d5f72ddc
|
Bugfix + tests
|
7 years ago |
Yann Weber
|
01c295d459
|
Code cleaning, updated tests + getline wrapper
The getline wrapper will allow to use getline without calling malloc
and free all the time
|
7 years ago |
Yann Weber
|
b74ee6957f
|
Implemented 2 utility functions + tests
|
7 years ago |
Yann Weber
|
2ff86aadef
|
File spliting
|
7 years ago |
Yann Weber
|
54cdb23b1d
|
Search file init tests enhancement
|
7 years ago |
Yann Weber
|
3f0432e41a
|
Now we only generate 1 libttail.a file
|
7 years ago |
Yann Weber
|
0080357465
|
Updated tests
|
7 years ago |
Yann Weber
|
26f51ae8a6
|
Started to implement file search op
|
7 years ago |
Yann Weber
|
e46400754a
|
Starting to write ttail_search + tests
|
7 years ago |
Yann Weber
|
2a80bded28
|
File splitting
|
7 years ago |
Yann Weber
|
ab53a6a6b9
|
Implemented ttail_init_check() + tests
|
7 years ago |
Yann Weber
|
038730b980
|
Implements ttail_set_date() + tests
|
7 years ago |
Yann Weber
|
fa815adb0c
|
Add date guessing feature + tests
|
7 years ago |
Yann Weber
|
90eede17bd
|
Enhancement bugfix + tests update
|
7 years ago |
Yann Weber
|
dbd70a3de6
|
Tests updates
|
7 years ago |
Yann Weber
|
87bba12a12
|
Add tests + bugfixes
|
7 years ago |
Yann Weber
|
d0d2f7220d
|
Bugfix + enhancement
|
7 years ago |
Yann Weber
|
c46b166b0e
|
Tests enhancement
|
7 years ago |
Yann Weber
|
7dd93d8688
|
Bugfix & enhancement
|
7 years ago |
Yann Weber
|
9de22a2677
|
Add first tests
|
7 years ago |