Skip to content

Commit

Permalink
src/tests: Rename test-console.sh to ibus-desktop-testing-runner
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwarat committed Jul 12, 2019
1 parent af00f41 commit 2a4f951
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/tests/Makefile.am
Expand Up @@ -79,6 +79,7 @@ TESTS_ENVIRONMENT = \
LOG_COMPILER = $(srcdir)/runtest

if ENABLE_INSTALL_TESTS
bin_SCRIPTS = ibus-desktop-testing-runner
test_metas_in = meta.test.in
test_execs = $(TESTS:ibus-compose=ibus-compose-locales)
test_metas = $(addsuffix .test, $(test_execs))
Expand Down Expand Up @@ -109,12 +110,20 @@ ibus-compose-locales: ibus-compose-locales.in
mv $@.tmp $@; \
$(NULL)

ibus-desktop-testing-runner.in \
ibus-desktop-testing-runner: ibus-desktop-testing-runner.in
SRCDIR=$(test_sourcesdir); \
sed -e "s|@SRCDIR[@]|$$SRCDIR|g" $< > $@.tmp; \
mv $@.tmp $@; \
$(NULL)

EXTRA_DIST = \
$(test_metas_in) \
runtest \
ibus-compose.emoji \
ibus-compose.env \
ibus-compose-locales.in \
ibus-desktop-testing-runner.in \
$(NULL)

ibus_bus_SOURCES = ibus-bus.c
Expand Down
File renamed without changes.

0 comments on commit 2a4f951

Please sign in to comment.