diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-09-11 11:49:35 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-09-11 11:49:35 +0200 |
commit | c302eca2c69de664dc8ac53a4577eeffe5daa5ca (patch) | |
tree | 6e8588522ff9706877d2158ddf5bfb08b99d186c /tests/gb/bssgp_fc_test.c | |
parent | db1533651f6a8684f3c1551e32c96f9a0ad83116 (diff) |
tests: Make the gb test work with srcdir != builddir
* Disable color and printing the filename of the stderr log target,
update the results
* Add the .ok, .err and .sh files to the extra_dist
* Execute the shell script from the source directory
Diffstat (limited to 'tests/gb/bssgp_fc_test.c')
-rw-r--r-- | tests/gb/bssgp_fc_test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gb/bssgp_fc_test.c b/tests/gb/bssgp_fc_test.c index c5e864d4..f74be300 100644 --- a/tests/gb/bssgp_fc_test.c +++ b/tests/gb/bssgp_fc_test.c @@ -8,6 +8,7 @@ #include <string.h> #include <getopt.h> +#include <osmocom/core/application.h> #include <osmocom/core/utils.h> #include <osmocom/core/logging.h> #include <osmocom/core/talloc.h> @@ -121,6 +122,8 @@ int main(int argc, char **argv) }; osmo_init_logging(&info); + log_set_use_color(osmo_stderr_target, 0); + log_set_print_filename(osmo_stderr_target, 0); while ((c = getopt_long(argc, argv, "s:r:d:l:c:", long_options, NULL)) != -1) { |