From d8c2f187068a8b7b1333dc59b1c9c28df787df9f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 21 Mar 2015 00:51:09 +0300 Subject: modules/rpm: rename 4 to 5 in tests dir Signed-off-by: Igor Gnatenko --- manual tests/4 rpm/lib.c | 6 ------ manual tests/4 rpm/lib.h | 1 - manual tests/4 rpm/main.c | 8 -------- manual tests/4 rpm/meson.build | 13 ------------- manual tests/5 rpm/lib.c | 6 ++++++ manual tests/5 rpm/lib.h | 1 + manual tests/5 rpm/main.c | 8 ++++++++ manual tests/5 rpm/meson.build | 13 +++++++++++++ 8 files changed, 28 insertions(+), 28 deletions(-) delete mode 100644 manual tests/4 rpm/lib.c delete mode 100644 manual tests/4 rpm/lib.h delete mode 100644 manual tests/4 rpm/main.c delete mode 100644 manual tests/4 rpm/meson.build create mode 100644 manual tests/5 rpm/lib.c create mode 100644 manual tests/5 rpm/lib.h create mode 100644 manual tests/5 rpm/main.c create mode 100644 manual tests/5 rpm/meson.build diff --git a/manual tests/4 rpm/lib.c b/manual tests/4 rpm/lib.c deleted file mode 100644 index efc230a..0000000 --- a/manual tests/4 rpm/lib.c +++ /dev/null @@ -1,6 +0,0 @@ -#include"lib.h" - -char *meson_print(void) -{ - return "Hello, world!"; -} diff --git a/manual tests/4 rpm/lib.h b/manual tests/4 rpm/lib.h deleted file mode 100644 index 08fc961..0000000 --- a/manual tests/4 rpm/lib.h +++ /dev/null @@ -1 +0,0 @@ -char *meson_print(void); diff --git a/manual tests/4 rpm/main.c b/manual tests/4 rpm/main.c deleted file mode 100644 index 5c46721..0000000 --- a/manual tests/4 rpm/main.c +++ /dev/null @@ -1,8 +0,0 @@ -#include -#include -int main(int argc, char **argv) -{ - char *t = meson_print(); - printf("%s", t); - return 0; -} diff --git a/manual tests/4 rpm/meson.build b/manual tests/4 rpm/meson.build deleted file mode 100644 index ebbbdfd..0000000 --- a/manual tests/4 rpm/meson.build +++ /dev/null @@ -1,13 +0,0 @@ -project('test spec', 'c') - -rpm = import('rpm') -dependency('zlib') - -lib = shared_library('mesontest_shared', ['lib.c', 'lib.h'], - version : '0.1', soversion : '0', - install : true) -executable('mesontest-bin', 'main.c', - link_with : lib, - install : true) - -rpm.generate_spec_template() diff --git a/manual tests/5 rpm/lib.c b/manual tests/5 rpm/lib.c new file mode 100644 index 0000000..efc230a --- /dev/null +++ b/manual tests/5 rpm/lib.c @@ -0,0 +1,6 @@ +#include"lib.h" + +char *meson_print(void) +{ + return "Hello, world!"; +} diff --git a/manual tests/5 rpm/lib.h b/manual tests/5 rpm/lib.h new file mode 100644 index 0000000..08fc961 --- /dev/null +++ b/manual tests/5 rpm/lib.h @@ -0,0 +1 @@ +char *meson_print(void); diff --git a/manual tests/5 rpm/main.c b/manual tests/5 rpm/main.c new file mode 100644 index 0000000..5c46721 --- /dev/null +++ b/manual tests/5 rpm/main.c @@ -0,0 +1,8 @@ +#include +#include +int main(int argc, char **argv) +{ + char *t = meson_print(); + printf("%s", t); + return 0; +} diff --git a/manual tests/5 rpm/meson.build b/manual tests/5 rpm/meson.build new file mode 100644 index 0000000..ebbbdfd --- /dev/null +++ b/manual tests/5 rpm/meson.build @@ -0,0 +1,13 @@ +project('test spec', 'c') + +rpm = import('rpm') +dependency('zlib') + +lib = shared_library('mesontest_shared', ['lib.c', 'lib.h'], + version : '0.1', soversion : '0', + install : true) +executable('mesontest-bin', 'main.c', + link_with : lib, + install : true) + +rpm.generate_spec_template() -- cgit v1.1