Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
c74678e2
Commit
c74678e2
authored
Mar 13, 2008
by
msvensson@pilot.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New Makefile.am for mysql-test makes it pass also "make distcheck" and "make install"
parent
af585cf4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
82 additions
and
18 deletions
+82
-18
mysql-test/Makefile.am
mysql-test/Makefile.am
+74
-17
mysql-test/lib/My/SafeProcess/Makefile.am
mysql-test/lib/My/SafeProcess/Makefile.am
+8
-1
No files found.
mysql-test/Makefile.am
View file @
c74678e2
...
...
@@ -19,28 +19,85 @@
testdir
=
$(prefix)
/mysql-test
EXTRA_DIST
=
README
\
test_SCRIPTS
=
mtr
\
mysql-test-run
\
mysql-test-run.pl
\
mysql-stress-test.pl
\
t r include suite extra
\
lib std_data
\
valgrind.supp
mysql-stress-test.pl
test_SCRIPTS
=
mtr mysql-test-run
CLEANFILES
=
$(test_SCRIPTS)
nobase_test_DATA
=
lib/mtr_cases.pm
\
lib/mtr_gcov.pl
\
lib/mtr_gprof.pl
\
lib/mtr_io.pl
\
lib/mtr_match.pl
\
lib/mtr_misc.pl
\
lib/mtr_process.pl
\
lib/mtr_report.pm
\
lib/mtr_stress.pl
\
lib/mtr_unique.pl
\
lib/My/ConfigFactory.pm
\
lib/My/Config.pm
\
lib/My/Find.pm
\
lib/My/Options.pm
\
lib/My/Platform.pm
\
lib/My/SafeProcess.pm
\
lib/My/File/Path.pm
\
lib/My/SafeProcess/Base.pm
\
lib/My/SafeProcess/safe_process.pl
SUBDIRS
=
lib/My/SafeProcess
EXTRA_DIST
=
README
\
valgrind.supp
\
$(test_SCRIPTS)
\
$(nobase_test_DATA)
# List of directories containing test + result files and the
# related test data files that should be copied
TEST_DIRS
=
t r include std_data std_data/parts
\
extra/binlog_tests/ extra/rpl_tests
\
suite/binlog suite/binlog/t suite/binlog/r suite/binlog/std_data
\
suite/bugs/data suite/bugs/t suite/bugs/r
\
suite/federated
\
suite/funcs_1 suite/funcs_1/bitdata suite/funcs_1/data
\
suite/funcs_1/include suite/funcs_1/lib suite/funcs_1/r
\
suite/funcs_1/t suite/funcs_1/views suite/funcs_1/cursors
\
suite/funcs_1/datadict suite/funcs_1/storedproc suite/funcs_1/triggers
\
suite/funcs_2 suite/funcs_2/charset suite/funcs_2/data
\
suite/funcs_2/include suite/funcs_2/lib suite/funcs_2/r
\
suite/funcs_2/t
\
suite/jp suite/jp/t suite/jp/r suite/jp/std_data
\
suite/manual/t suite/manual/r
\
suite/ndb_team suite/ndb_team/t suite/ndb_team/r
\
suite/rpl suite/rpl/data suite/rpl/include suite/rpl/r
\
suite/rpl/t
\
suite/stress/include suite/stress/t suite/stress/r
\
suite/ndb suite/ndb/t suite/ndb/r
\
suite/rpl_ndb suite/rpl_ndb/t suite/rpl_ndb/r
\
suite/parts suite/parts/t suite/parts/r suite/parts/inc
# Install all files and files in directories listed in EXTRA_DIST
install-data-local
:
for
f
in
`
(
cd
$(srcdir)
;
find
$(EXTRA_DIST)
-type
f
)
`
;
\
do
\
d
=
$(DESTDIR)$(testdir)
/
`
dirname
$$
f
`
;
\
mkdir
-p
$$
d
;
\
$(INSTALL_DATA)
$(srcdir)
/
$$
f
$$
d
;
\
# Used by dist-hook and install-data-local to copy all
# test files into either dist or install directory
install_test_files
:
@
if
test
-z
"
$(INSTALL_TO_DIR)
"
;
then
\
echo
"Set INSTALL_TO_DIR!"
&&
exit
1
;
\
fi
@
for
dir
in
$(TEST_DIRS)
;
do
\
from_dir
=
"
$(srcdir)
/
$$
dir"
;
\
to_dir
=
"
$(INSTALL_TO_DIR)
/
$$
dir"
;
\
$(mkinstalldirs)
"
$$
to_dir"
;
\
for
f
in
`
(
cd
$$
from_dir
&&
ls
)
`
;
do
\
if
test
-f
"
$$
from_dir/
$$
f"
;
then
\
$(INSTALL_DATA)
"
$$
from_dir/
$$
f"
"
$$
to_dir/
$$
f"
;
\
fi
;
\
done
\
done
dist-hook
:
$(MAKE)
INSTALL_TO_DIR
=
"
$(distdir)
"
install_test_files
install-data-local
:
$(MAKE)
INSTALL_TO_DIR
=
"
$(DESTDIR)$(testdir)
"
install_test_files
uninstall-local
:
@
RM@
-f
-r
$(DESTDIR)$(testdir)
...
...
mysql-test/lib/My/SafeProcess/Makefile.am
View file @
c74678e2
...
...
@@ -13,9 +13,16 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
bin_PROGRAMS
=
my_safe_process
safedir
=
$(prefix)
/mysql-test/lib/My/SafeProcess
#nobase_bin_PROGRAMS = ...
safe_PROGRAMS
=
my_safe_process
my_safe_process_SOURCES
=
safe_process.cc
EXTRA_DIST
=
safe_kill_win.cc
\
safe_process_win.cc
\
CMakeLists.txt
# Don't update the files from bitkeeper
%
::
SCCS/s.%
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment