Skip to content

Commit 5dd613d

Browse files
committed
Lingot 1.0.1
Fixed problems in the tarball regarding the unit tests.
1 parent a64384e commit 5dd613d

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

Makefile.am

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ dist_man_MANS = lingot.1
3838
EXTRA_DIST = \
3939
$(lingotdoc_DATA) \
4040
$(appdata_DATA) \
41-
build-aux/gitlog-to-changelog
41+
build-aux/gitlog-to-changelog \
42+
bootstrap
4243

4344
dist-hook: gen-ChangeLog copy-SpecFiles
4445

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ dnl Created by Anjuta - will be overwritten
33
dnl If you don't want it to overwrite it,
44
dnl Please disable it in the Anjuta project configuration
55

6-
AC_INIT([Lingot], [1.0.0])
6+
AC_INIT([Lingot], [1.0.1])
77
AC_CONFIG_MACRO_DIR([m4])
88
AM_INIT_AUTOMAKE
99
AC_CONFIG_HEADERS([config.h])

src/Makefile.am

+6-4
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,15 @@ lingot_SOURCES = \
4747
lingot-signal.h\
4848
lingot.c\
4949
lingot-i18n.h\
50-
lingot.gresource.xml\
51-
lingot-resources.c
52-
50+
lingot.gresource.xml
51+
52+
nodist_lingot_SOURCES = lingot-resources.c
53+
BUILT_SOURCES = lingot-resources.c
54+
5355
CLEANFILES = lingot-resources.c
5456

5557
lingot-resources.c: lingot.gresource.xml
56-
$(GLIB_COMPILE_RESOURCES) lingot.gresource.xml --target=$@ --sourcedir=. --generate-source
58+
$(GLIB_COMPILE_RESOURCES) ${srcdir}/lingot.gresource.xml --target=$@ --sourcedir=${srcdir} --generate-source
5759

5860
lingot_LDFLAGS =
5961

test/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ lingot_test_SOURCES = \
3030
src/lingot-test-signal.c
3131

3232
check_datadir =
33-
check_data_DATA = resources/lingot-001.conf
33+
check_data_DATA = resources/lingot-001.conf resources/lingot-0_9_2b8.conf
3434

3535
EXTRA_DIST = \
3636
$(check_data_DATA)

test/src/lingot-test-io-config.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,9 @@ void lingot_test_io_config() {
5959
// recent file
6060
// -----------
6161

62+
ok = lingot_io_config_load(config, "resources/lingot-0_9_2b8.conf");
6263
if (ok) { // TODO: assert
6364

64-
ok = lingot_io_config_load(config, "resources/lingot-0_9_2b8.conf");
65-
6665
CU_ASSERT_EQUAL(config->audio_system, AUDIO_SYSTEM_PULSEAUDIO);
6766
CU_ASSERT(!strcmp(config->audio_dev[config->audio_system], "default"));
6867
CU_ASSERT_EQUAL(config->sample_rate, 44100);

0 commit comments

Comments
 (0)