Changeset 989 for vendor/current/ctdb/wscript
- Timestamp:
- Nov 25, 2016, 8:04:54 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/ctdb/wscript
r988 r989 209 209 conf.env.CTDB_TEST_DATADIR = os.path.join(conf.env.EXEC_PREFIX, 210 210 'share/ctdb-tests') 211 conf.env.CTDB_TEST_LIB DIR = os.path.join(conf.env.LIBDIR, 'ctdb-tests')211 conf.env.CTDB_TEST_LIBEXECDIR = os.path.join(conf.env.LIBEXECDIR, 'ctdb/tests') 212 212 213 213 # Allow unified compilation and separate compilation of utilities … … 344 344 '''db_hash.c srvid.c reqid.c 345 345 pkt_read.c pkt_write.c comm.c 346 logging.c '''),347 deps='replace talloc tevent tdb tevent-u nix-util')346 logging.c pidfile.c'''), 347 deps='replace talloc tevent tdb tevent-util') 348 348 349 349 bld.SAMBA_SUBSYSTEM('ctdb-protocol', … … 630 630 'protocol_types_test', 631 631 'protocol_client_test', 632 'pidfile_test', 632 633 ] 633 634 … … 637 638 bld.SAMBA_BINARY(target, 638 639 source=src, 639 deps='talloc tevent tdb tevent-u nix-util',640 install_path='${CTDB_TEST_LIB DIR}')640 deps='talloc tevent tdb tevent-util', 641 install_path='${CTDB_TEST_LIBEXECDIR}') 641 642 642 643 bld.SAMBA_BINARY('reqid_test', 643 644 source='tests/src/reqid_test.c', 644 645 deps='samba-util', 645 install_path='${CTDB_TEST_LIB DIR}')646 install_path='${CTDB_TEST_LIBEXECDIR}') 646 647 647 648 # Test binaries … … 672 673 includes='include', 673 674 deps='ctdb-client ctdb-common ctdb-util', 674 install_path='${CTDB_TEST_LIB DIR}')675 install_path='${CTDB_TEST_LIBEXECDIR}') 675 676 676 677 bld.SAMBA_BINARY('ctdb_takeover_tests', … … 681 682 ib_deps, 682 683 includes='include', 683 install_path='${CTDB_TEST_LIB DIR}')684 install_path='${CTDB_TEST_LIBEXECDIR}') 684 685 685 686 bld.SAMBA_BINARY('ctdb_functest', … … 688 689 samba-util tdb-wrap''', 689 690 includes='include', 690 install_path='${CTDB_TEST_LIB DIR}')691 install_path='${CTDB_TEST_LIBEXECDIR}') 691 692 692 693 bld.SAMBA_BINARY('ctdb_stubtest', … … 695 696 samba-util tdb-wrap''', 696 697 includes='include', 697 install_path='${CTDB_TEST_LIB DIR}')698 install_path='${CTDB_TEST_LIBEXECDIR}') 698 699 699 700 if bld.env.HAVE_INFINIBAND: … … 703 704 deps='replace talloc ctdb-client ctdb-common' + 704 705 ib_deps, 705 install_path='${CTDB_TEST_LIB DIR}')706 install_path='${CTDB_TEST_LIBEXECDIR}') 706 707 707 708 test_subdirs = [ … … 735 736 736 737 sed_expr = 's@^TEST_SCRIPTS_DIR=.*@&\\nexport TEST_BIN_DIR=\"%s\"@' % ( 737 bld.env.CTDB_TEST_LIB DIR)738 bld.env.CTDB_TEST_LIBEXECDIR) 738 739 bld.SAMBA_GENERATOR('ctdb-test-wrap', 739 740 source='tests/scripts/test_wrap', … … 744 745 745 746 sed_expr1 = 's@^test_dir=.*@test_dir=%s\\nexport TEST_BIN_DIR=\"%s\"@' % ( 746 bld.env.CTDB_TEST_DATADIR, bld.env.CTDB_TEST_LIB DIR)747 bld.env.CTDB_TEST_DATADIR, bld.env.CTDB_TEST_LIBEXECDIR) 747 748 sed_expr2 = 's@^\(export CTDB_TESTS_ARE_INSTALLED\)=false@\\1=true@' 748 749 bld.SAMBA_GENERATOR('ctdb-test-runner',
Note:
See TracChangeset
for help on using the changeset viewer.