[beast: 18/39] TESTS: use bse_version(), get rid of topconfig.h
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 18/39] TESTS: use bse_version(), get rid of topconfig.h
- Date: Sun, 13 Sep 2015 20:28:26 +0000 (UTC)
commit 7c411449923d6099d2e78b6535119656682c3d5b
Author: Tim Janik <timj gnu org>
Date: Sat Sep 12 00:23:19 2015 +0200
TESTS: use bse_version(), get rid of topconfig.h
tests/bse/filtertest.cc | 3 +--
tests/testresampler.cc | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/tests/bse/filtertest.cc b/tests/bse/filtertest.cc
index e881da4..fef921d 100644
--- a/tests/bse/filtertest.cc
+++ b/tests/bse/filtertest.cc
@@ -8,7 +8,6 @@
#include <bse/bsemathsignal.hh>
#include <bse/gslfilter.hh>
#include <rapicorn-test.hh>
-#include "topconfig.h"
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
@@ -122,7 +121,7 @@ Options::parse (int *argc_p,
else if (strcmp (argv[i], "--version") == 0 ||
strcmp (argv[i], "-v") == 0)
{
- printf ("%s %s\n", program_name.c_str(), BST_VERSION);
+ printf ("%s %s\n", program_name.c_str(), bse_version().c_str());
exit (0);
}
else if (check_arg (argc, argv, &i, "--dump-gnuplot-data"))
diff --git a/tests/testresampler.cc b/tests/testresampler.cc
index acb0390..58e638c 100644
--- a/tests/testresampler.cc
+++ b/tests/testresampler.cc
@@ -7,7 +7,6 @@
#include <bse/bsemath.hh>
#include <bse/bsemathsignal.hh>
#include <bse/gslfft.hh>
-#include "topconfig.h"
#include <stdio.h>
#include <math.h>
@@ -205,7 +204,7 @@ Options::parse (int *argc_p,
else if (strcmp (argv[i], "--version") == 0 ||
strcmp (argv[i], "-v") == 0)
{
- printf ("%s %s\n", program_name.c_str(), BST_VERSION);
+ printf ("%s %s\n", program_name.c_str(), bse_version().c_str());
exit (0);
}
else if (check_arg (argc, argv, &i, "--block-size", &opt_arg))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]