1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-11-03 04:17:18 -05:00
Commit Graph

52 Commits

Author SHA1 Message Date
Moritz Grimm
6616831590 Switch to a new (unit-tested) metadata handling API 2017-09-20 12:40:33 +02:00
Moritz Grimm
3a471dc164 Assert errstr2 to be not NULL before dereferencing it 2017-09-20 11:20:39 +02:00
Moritz Grimm
7729fa9773 Make configuration handling around streaming from stdin more robust 2017-09-15 19:23:16 +02:00
Moritz Grimm
43e26549f9 Add support for writing PID files 2017-07-10 11:39:00 +02:00
Moritz Grimm
71e5820df1 Make cmdline_parse() restartable 2017-07-07 16:44:58 +02:00
Moritz Grimm
8e0d5d6678 Add STDIN streaming configuration example 2017-03-30 14:54:41 +02:00
Moritz Grimm
cec131e83a Fix misleading function name 2016-10-14 16:23:32 +02:00
Moritz Grimm
cce2455bc6 Rename config file (re)load function for clarity 2016-10-14 16:19:39 +02:00
Moritz Grimm
f05462c7ea Merge remote-tracking branch 'origin/feature/stream_refactor' into feature/https_support 2016-03-07 11:12:22 +01:00
Moritz Grimm
a337c74ea4 Update TLS configuration to match libshout requirements 2016-03-04 18:20:17 +01:00
Moritz Grimm
4b087df3ab Add plumbing for future encapsulation of libshout usage 2015-06-15 08:04:57 +02:00
Moritz Grimm
b34b78aeba Remove unneeded fixture prototypes 2015-06-13 11:41:40 +02:00
Moritz Grimm
77fe651bff Move config plausibility check to CFG and test it 2015-06-11 23:50:31 +02:00
Moritz Grimm
744511ffe2 Expose "configuration stashing" API 2015-06-09 23:02:45 +02:00
Moritz Grimm
02edf4f385 Start with some automated integration/smoke tests
Audio from http://www.audiocheck.net/audiocheck_spectrotyper.php
2015-06-03 23:58:45 +02:00
Moritz Grimm
b0eda7b48c Add cfg_get_stream_format_str() 2015-06-02 23:45:10 +02:00
Moritz Grimm
c396866de6 Test recovery after excessively long lines 2015-06-02 22:35:43 +02:00
Moritz Grimm
9d9bf9865c Comment out a test that fails with -O0
This is a riddle for another day ...
2015-05-30 21:53:01 +02:00
Moritz Grimm
542a21b7ab More playlist tests 2015-05-30 21:52:42 +02:00
Moritz Grimm
2720521c71 Make bad-executable a real script that always "fails" 2015-05-28 14:15:49 +02:00
Moritz Grimm
40b7b33f7c Further playlist test improvements 2015-05-28 14:10:42 +02:00
Moritz Grimm
89afe51765 More playlist tests 2015-05-28 08:40:16 +02:00
Moritz Grimm
122728aaa2 Test playlist 2015-05-27 23:37:26 +02:00
Moritz Grimm
e3f43db0c9 Add playlist test harness 2015-05-26 14:31:43 +02:00
Moritz Grimm
715d840718 Finish cmdline tests 2015-05-26 14:15:11 +02:00
Moritz Grimm
e05629e7fd Explicitly pass unsigned long to alloc functions
This is just to squelch Wconversion warnings on older GCC, making the
build output easier to read. No functional change.
2015-05-26 08:04:04 +02:00
Moritz Grimm
5548971fe3 More tests for cmdline 2015-05-26 07:47:07 +02:00
Moritz Grimm
9ffc726ad7 Start to test cmdline 2015-05-24 20:57:27 +02:00
Moritz Grimm
111f219f17 Test xalloc (as much as possible) 2015-05-24 13:20:26 +02:00
Moritz Grimm
459eeea2a2 Adjust test-suite/-case names 2015-05-24 11:33:24 +02:00
Moritz Grimm
8357b854d8 Test log 2015-05-24 11:29:42 +02:00
Moritz Grimm
9c56f4a8db Add another code branch to the metadata/format_str test case 2015-05-22 08:09:43 +02:00
Moritz Grimm
a22a99a19f Remove config-ok.xml (effectively replaced by all examples) 2015-05-22 07:49:05 +02:00
Moritz Grimm
65200182f9 Split out tests for cfg_xmlfile.c and use it to check the examples 2015-05-22 00:40:21 +02:00
Moritz Grimm
c304dfe48a Support passthrough "encoders" again 2015-05-22 00:20:54 +02:00
Moritz Grimm
b8ea620f7a Default to port 8000 2015-05-22 00:19:57 +02:00
Moritz Grimm
34bdab6a36 Fix cfg_get_metadata_program() and add tests when NULL is expected from getters 2015-05-21 23:25:05 +02:00
Moritz Grimm
e2139e9195 Remove check_ezstream dummy; it doesn't do anything useful, yet
... and ezstream.c is probably the most untestable file right now anyways.
2015-05-21 08:34:30 +02:00
Moritz Grimm
dd2f32665a Add remaining tests that make cfg tests "good enough" 2015-05-21 01:28:07 +02:00
Moritz Grimm
6c6e758626 Fix variable name inside test macro 2015-05-21 01:27:28 +02:00
Moritz Grimm
5350b3be79 Fix signedness in comparison 2015-05-21 01:25:07 +02:00
Moritz Grimm
865dbfe682 Test error branch w/o triggering a Valgrind error 2015-05-20 00:34:26 +02:00
Moritz Grimm
4c3a4a38bb Reorganize tests; add proper fixtures 2015-05-20 00:14:50 +02:00
Moritz Grimm
810fbdb897 Add a few more tests 2015-05-18 23:57:36 +02:00
Moritz Grimm
876660fc17 Test and fix cfg_*_get() 2015-05-16 00:39:36 +02:00
Moritz Grimm
e529726e50 Fix "make distcheck" 2015-05-15 22:30:48 +02:00
Moritz Grimm
13be6d2680 Add remaining tests of cfg.c 2015-05-15 00:47:47 +02:00
Moritz Grimm
4aff0b7e3e Remove copypasta to fix "make dist" 2015-05-12 13:08:47 +02:00
Moritz Grimm
36511d9408 Add script to generate coverage reports using lcov. 2015-05-12 12:06:49 +02:00
Moritz Grimm
7789015afe Add tests for all but cfg_reload() and cfg_exit() 2015-05-11 23:46:39 +02:00