1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-12-04 14:46:31 -05:00
Commit Graph

467 Commits

Author SHA1 Message Date
Moritz Grimm
e3f43db0c9 Add playlist test harness 2015-05-26 14:31:43 +02:00
Moritz Grimm
7a4c7291da Fix log level 2015-05-26 14:22:56 +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
b4fe40532a Simplify log_syserr() (no need to be thread-safe)
Using strerror_r() w/ proper error checking is impossible, if the
system uses GNUisms (and losing _GNU_SOURCE's extensions is equally
painful)

Also, this change probably fixes a "abort() instead of error" bug.
2015-05-24 11:26:04 +02:00
Moritz Grimm
4c6a879303 Make log testable: return true value when something was logged 2015-05-24 09:05:40 +02:00
Moritz Grimm
2016cb5012 Revert "Comment out/remove HTTPS-related documentation and examples"
This reverts commit 2ccc72c963.
2015-05-23 09:53:03 +02:00
Moritz Grimm
2ccc72c963 Comment out/remove HTTPS-related documentation and examples
... to be reverted when HTTPS is officially supported with the corresponding
libshout release.
2015-05-22 22:42:50 +02:00
Moritz Grimm
b920aadd70 Error string argument is no longer used 2015-05-22 22:34:48 +02:00
Moritz Grimm
d93f313f97 Attempt to parallel-build coverage reports 2015-05-22 08:13:48 +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
a83e6cc577 Allow coverage report gen to crash more easily with full stack protection 2015-05-22 08:08:49 +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
d71886a0e6 Add a video streaming example 2015-05-22 00:27:52 +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
f7a700efe9 Replace examples with fewer, more concise ones 2015-05-21 23:32:55 +02:00
Moritz Grimm
2bc4cedbb0 Make oggdec output correctly signed RAW audio
Newer oggdec seems to have inverted the -e setting, as compared to the
old examples from a few years ago.
2015-05-21 23:30:51 +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
fb9c44f7fa Update new example so that it can theoretically work 2015-05-21 18:50:22 +02:00
Moritz Grimm
404b03fa60 Fix format_str default 2015-05-21 18:41:07 +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
dcb5303b4b Consistently set errstrp 2015-05-21 01:24:09 +02:00
Moritz Grimm
d1ae8fa17d Properly traverse list 2015-05-21 01:23:47 +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
8eef9842b1 cfg_init() returns int 2015-05-18 23:49:52 +02:00
Moritz Grimm
02b42c8446 Plug memory leak 2015-05-18 23:36:43 +02:00
Moritz Grimm
876660fc17 Test and fix cfg_*_get() 2015-05-16 00:39:36 +02:00
Moritz Grimm
1d02b841f0 Update ezstream-file(1) for new command line arguments 2015-05-15 22:47:19 +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
5a8e087b31 Clean up better before and after 2015-05-15 00:46:31 +02:00
Moritz Grimm
91bcdc206f The metadata block is not mandatory 2015-05-15 00:45:36 +02:00
Moritz Grimm
0d66baf9f7 Merge branch 'feature/unit_tests' into feature/config_refactor 2015-05-14 23:37:22 +02:00
Moritz Grimm
91b82d8fd5 Catch up with the documentation 2015-05-14 23:29:38 +02:00
Moritz Grimm
4cffc5102d Initialize cfg for refresh_interval 2015-05-14 23:28:08 +02:00
Moritz Grimm
b62d4b4317 Fix regression in handling of refresh_interval 2015-05-14 23:23:48 +02:00
Moritz Grimm
bd04a66c79 Add -r command line option: explicitly enable real-time status line 2015-05-12 17:35:04 +02:00
Moritz Grimm
1115ab16db Return NULL in case of unset program_config_file 2015-05-12 17:33:08 +02:00