diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-15 03:36:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-15 03:36:05 +0300 |
commit | 35ff05fe5c98a26581a9282730a0a624605b70e1 (patch) | |
tree | c32a73d801fe7b0fb939f230394ddcedbae391bb /data/test | |
parent | 8580c1f1b4e460536102798acca9f14c5e62b871 (diff) | |
download | manaverse-35ff05fe5c98a26581a9282730a0a624605b70e1.tar.gz manaverse-35ff05fe5c98a26581a9282730a0a624605b70e1.tar.bz2 manaverse-35ff05fe5c98a26581a9282730a0a624605b70e1.tar.xz manaverse-35ff05fe5c98a26581a9282730a0a624605b70e1.zip |
Add more unit tests for virtfs.
Also add some testing files.
Diffstat (limited to 'data/test')
-rw-r--r-- | data/test/CMakeLists.txt | 3 | ||||
-rw-r--r-- | data/test/Makefile.am | 3 | ||||
-rw-r--r-- | data/test/dir1/CMakeLists.txt | 5 | ||||
-rw-r--r-- | data/test/dir1/Makefile.am | 8 | ||||
-rw-r--r-- | data/test/dir1/file1.txt | 2 | ||||
l--------- | data/test/test2.txt | 1 |
6 files changed, 22 insertions, 0 deletions
diff --git a/data/test/CMakeLists.txt b/data/test/CMakeLists.txt index 73802bc56..11d0b5b61 100644 --- a/data/test/CMakeLists.txt +++ b/data/test/CMakeLists.txt @@ -13,9 +13,12 @@ SET(FILES serverlistplus.xml simplefile.txt test.txt + test2.txt test.zip testintmap.xml units.xml ) INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/test) + +ADD_SUBDIRECTORY(dir1) diff --git a/data/test/Makefile.am b/data/test/Makefile.am index de8aeacc8..2f7b7f0dd 100644 --- a/data/test/Makefile.am +++ b/data/test/Makefile.am @@ -1,3 +1,5 @@ +SUBDIRS = dir1 + testdir = $(pkgdatadir)/data/test test_DATA = \ @@ -15,6 +17,7 @@ test_DATA = \ serverlistplus.xml \ simplefile.txt \ test.txt \ + test2.txt \ test.zip \ testintmap.xml \ units.xml diff --git a/data/test/dir1/CMakeLists.txt b/data/test/dir1/CMakeLists.txt new file mode 100644 index 000000000..1c032280b --- /dev/null +++ b/data/test/dir1/CMakeLists.txt @@ -0,0 +1,5 @@ +SET(FILES + file1.txt + ) + +INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/test/dir1) diff --git a/data/test/dir1/Makefile.am b/data/test/dir1/Makefile.am new file mode 100644 index 000000000..e731f75f2 --- /dev/null +++ b/data/test/dir1/Makefile.am @@ -0,0 +1,8 @@ +dir1dir = $(pkgdatadir)/data/test/dir1 + +dir1_DATA = \ + file1.txt + +EXTRA_DIST = \ + $(dir1_DATA) \ + CMakeLists.txt diff --git a/data/test/dir1/file1.txt b/data/test/dir1/file1.txt new file mode 100644 index 000000000..6a14a1b0f --- /dev/null +++ b/data/test/dir1/file1.txt @@ -0,0 +1,2 @@ +test line 1 +test line 2
\ No newline at end of file diff --git a/data/test/test2.txt b/data/test/test2.txt new file mode 120000 index 000000000..541cb64f9 --- /dev/null +++ b/data/test/test2.txt @@ -0,0 +1 @@ +test.txt
\ No newline at end of file |