Skip to content

Commit

Permalink
test: add missing files
Browse files Browse the repository at this point in the history
Add dummy makefiles and test/Makefile entries for some tests to enable
testing from `make check`.
  • Loading branch information
tomaszkapela committed Apr 20, 2017
1 parent fdcfdb9 commit cd4c0b3
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ OTHER_TESTS = \
traces\
traces_custom_function\
traces_pmem\
unicode_api\
unicode_match_script\
util_cpuid\
util_uuid_generate\
util_file_create\
Expand All @@ -190,7 +192,7 @@ OTHER_TESTS = \
util_parse_size\
util_poolset\
util_poolset_parse\
util_is_absolute \
util_is_absolute\
util_is_poolset\
util_poolset_size\
util_poolset_foreach
Expand Down
36 changes: 36 additions & 0 deletions src/test/unicode_api/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#
# Copyright 2017, Intel Corporation
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
#
# * Neither the name of the copyright holder nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

#
# src/test/unicode_api/Makefile -- build unittest for unicode api completeness
#
include ../Makefile.inc
5 changes: 5 additions & 0 deletions src/test/unicode_api/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Non-Volatile Memory Library

This is src/test/unicode_api/README.

This directory contains a check for unicode API completeness.
37 changes: 37 additions & 0 deletions src/test/unicode_match_script/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#
# Copyright 2017, Intel Corporation
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
#
# * Neither the name of the copyright holder nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

#
# src/test/unicode_match_script/Makefile -- build unittest for unicode match
# scripts
#
include ../Makefile.inc
5 changes: 5 additions & 0 deletions src/test/unicode_match_script/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Non-Volatile Memory Library

This is src/test/unicode_match_script/README.

This directory contains a unit test for unicode match scripts.

0 comments on commit cd4c0b3

Please sign in to comment.