ATF-log archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

org.NetBSD.atf.src.reorg: 2d219071a6ab4435b7950b7d85bc86a33175f36a



revision:            2d219071a6ab4435b7950b7d85bc86a33175f36a
date:                2010-06-11T17:29:26
author:              jmmv%NetBSD.org@localhost
branch:              org.NetBSD.atf.src.reorg
changelog:
Mix tests/atf with source code

Remove the tests/atf layout.  It adds a deep layout to paths which is
really annoying to manage when developing, specially because one has
to often open a source file and its tests side by side.  If they live
in the same directory, things are much easier.

While doing so, rename the test programs from the t_name naming scheme
to name_test.  This way, on directory listings, source files and their
tests are grouped alphabetically.  It is also more consistent with
other (saner) naming schemes I've been using around.

Lately, this change goes into a new branch.  This is to experiment a
little bit with all the code shuffling.  Things to be done to complete
this branch are detailed in the temporary TODO.reorg file.

Addresses part of ticket #11.

manifest:
format_version "1"

new_manifest [75c9a1dcd97d5aab129f386001ef791b442a8b65]

old_revision [62b75e4b3318fcb012a718260505a1bace71ff5e]

delete "tests/atf"

delete "tests/atf/atf-c"

delete "tests/atf/atf-c++"

delete "tests/atf/atf-check"

delete "tests/atf/atf-config"

delete "tests/atf/atf-report"

delete "tests/atf/atf-run"

delete "tests/atf/atf-sh"

delete "tests/atf/test_programs"

rename "tests/atf/Atffile"
    to "Atffile"

rename "tests/atf/atf-c/Atffile"
    to "atf-c/Atffile"

rename "tests/atf/atf-c/d_use_macros_h.c"
    to "atf-c/d_use_macros_h.c"

rename "tests/atf/atf-c/h_build.h"
    to "atf-c/h_build.h"

rename "tests/atf/atf-c/h_lib.c"
    to "atf-c/h_lib.c"

rename "tests/atf/atf-c/h_lib.h"
    to "atf-c/h_lib.h"

rename "tests/atf/atf-c/h_processes.c"
    to "atf-c/h_processes.c"

rename "tests/atf/atf-c/t_atf_c.c"
    to "atf-c/atf_c_test.c"

rename "tests/atf/atf-c/t_build.c"
    to "atf-c/build_test.c"

rename "tests/atf/atf-c/t_check.c"
    to "atf-c/check_test.c"

rename "tests/atf/atf-c/t_config.c"
    to "atf-c/config_test.c"

rename "tests/atf/atf-c/t_dynstr.c"
    to "atf-c/dynstr_test.c"

rename "tests/atf/atf-c/t_env.c"
    to "atf-c/env_test.c"

rename "tests/atf/atf-c/t_error.c"
    to "atf-c/error_test.c"

rename "tests/atf/atf-c/t_fs.c"
    to "atf-c/fs_test.c"

rename "tests/atf/atf-c/t_h_lib.c"
    to "atf-c/h_lib_test.c"

rename "tests/atf/atf-c/t_list.c"
    to "atf-c/list_test.c"

rename "tests/atf/atf-c/t_macros.c"
    to "atf-c/macros_test.c"

rename "tests/atf/atf-c/t_map.c"
    to "atf-c/map_test.c"

rename "tests/atf/atf-c/t_pkg_config.sh"
    to "atf-c/pkg_config_test.sh"

rename "tests/atf/atf-c/t_process.c"
    to "atf-c/process_test.c"

rename "tests/atf/atf-c/t_sanity.c"
    to "atf-c/sanity_test.c"

rename "tests/atf/atf-c/t_tc.c"
    to "atf-c/tc_test.c"

rename "tests/atf/atf-c/t_text.c"
    to "atf-c/text_test.c"

rename "tests/atf/atf-c/t_tp.c"
    to "atf-c/tp_test.c"

rename "tests/atf/atf-c/t_ui.c"
    to "atf-c/ui_test.c"

rename "tests/atf/atf-c/t_user.c"
    to "atf-c/user_test.c"

rename "tests/atf/atf-c++/Atffile"
    to "atf-c++/Atffile"

rename "tests/atf/atf-c++/d_use_macros_hpp.cpp"
    to "atf-c++/d_use_macros_hpp.cpp"

rename "tests/atf/atf-c++/h_lib.cpp"
    to "atf-c++/h_lib.cpp"

rename "tests/atf/atf-c++/h_lib.hpp"
    to "atf-c++/h_lib.hpp"

rename "tests/atf/atf-c++/t_application.cpp"
    to "atf-c++/application_test.cpp"

rename "tests/atf/atf-c++/t_atf_c++.cpp"
    to "atf-c++/atf_c++_test.cpp"

rename "tests/atf/atf-c++/t_build.cpp"
    to "atf-c++/build_test.cpp"

rename "tests/atf/atf-c++/t_check.cpp"
    to "atf-c++/check_test.cpp"

rename "tests/atf/atf-c++/t_config.cpp"
    to "atf-c++/config_test.cpp"

rename "tests/atf/atf-c++/t_env.cpp"
    to "atf-c++/env_test.cpp"

rename "tests/atf/atf-c++/t_exceptions.cpp"
    to "atf-c++/exceptions_test.cpp"

rename "tests/atf/atf-c++/t_expand.cpp"
    to "atf-c++/expand_test.cpp"

rename "tests/atf/atf-c++/t_fs.cpp"
    to "atf-c++/fs_test.cpp"

rename "tests/atf/atf-c++/t_io.cpp"
    to "atf-c++/io_test.cpp"

rename "tests/atf/atf-c++/t_macros.cpp"
    to "atf-c++/macros_test.cpp"

rename "tests/atf/atf-c++/t_parser.cpp"
    to "atf-c++/parser_test.cpp"

rename "tests/atf/atf-c++/t_pkg_config.sh"
    to "atf-c++/pkg_config_test.sh"

rename "tests/atf/atf-c++/t_process.cpp"
    to "atf-c++/process_test.cpp"

rename "tests/atf/atf-c++/t_sanity.cpp"
    to "atf-c++/sanity_test.cpp"

rename "tests/atf/atf-c++/t_signals.cpp"
    to "atf-c++/signals_test.cpp"

rename "tests/atf/atf-c++/t_tests.cpp"
    to "atf-c++/tests_test.cpp"

rename "tests/atf/atf-c++/t_text.cpp"
    to "atf-c++/text_test.cpp"

rename "tests/atf/atf-c++/t_ui.cpp"
    to "atf-c++/ui_test.cpp"

rename "tests/atf/atf-c++/t_user.cpp"
    to "atf-c++/user_test.cpp"

rename "tests/atf/atf-c++/t_utils.cpp"
    to "atf-c++/utils_test.cpp"

rename "tests/atf/atf-check/Atffile"
    to "atf-check/Atffile"

rename "tests/atf/atf-check/t_integration.sh"
    to "atf-check/integration_test.sh"

rename "tests/atf/atf-config/Atffile"
    to "atf-config/Atffile"

rename "tests/atf/atf-config/t_integration.sh"
    to "atf-config/integration_test.sh"

rename "tests/atf/atf-report/Atffile"
    to "atf-report/Atffile"

rename "tests/atf/atf-report/h_fail.cpp"
    to "atf-report/h_fail.cpp"

rename "tests/atf/atf-report/h_misc.cpp"
    to "atf-report/h_misc.cpp"

rename "tests/atf/atf-report/h_pass.cpp"
    to "atf-report/h_pass.cpp"

rename "tests/atf/atf-report/t_integration.sh"
    to "atf-report/integration_test.sh"

rename "tests/atf/atf-report/t_reader.cpp"
    to "atf-report/reader_test.cpp"

rename "tests/atf/atf-run/Atffile"
    to "atf-run/Atffile"

rename "tests/atf/atf-run/h_bad_metadata.c"
    to "atf-run/h_bad_metadata.c"

rename "tests/atf/atf-run/h_fail.cpp"
    to "atf-run/h_fail.cpp"

rename "tests/atf/atf-run/h_misc.cpp"
    to "atf-run/h_misc.cpp"

rename "tests/atf/atf-run/h_pass.cpp"
    to "atf-run/h_pass.cpp"

rename "tests/atf/atf-run/h_several_tcs.c"
    to "atf-run/h_several_tcs.c"

rename "tests/atf/atf-run/h_zero_tcs.c"
    to "atf-run/h_zero_tcs.c"

rename "tests/atf/atf-run/t_atffile.cpp"
    to "atf-run/atffile_test.cpp"

rename "tests/atf/atf-run/t_config.cpp"
    to "atf-run/config_test.cpp"

rename "tests/atf/atf-run/t_fs.cpp"
    to "atf-run/fs_test.cpp"

rename "tests/atf/atf-run/t_integration.sh"
    to "atf-run/integration_test.sh"

rename "tests/atf/atf-run/t_requirements.cpp"
    to "atf-run/requirements_test.cpp"

rename "tests/atf/atf-run/t_test_program.cpp"
    to "atf-run/test_program_test.cpp"

rename "tests/atf/atf-sh/Atffile"
    to "atf-sh/Atffile"

rename "tests/atf/atf-sh/h_misc.sh"
    to "atf-sh/h_misc.sh"

rename "tests/atf/atf-sh/t_atf_check.sh"
    to "atf-sh/atf_check_test.sh"

rename "tests/atf/atf-sh/t_config.sh"
    to "atf-sh/config_test.sh"

rename "tests/atf/atf-sh/t_integration.sh"
    to "atf-sh/integration_test.sh"

rename "tests/atf/atf-sh/t_normalize.sh"
    to "atf-sh/normalize_test.sh"

rename "tests/atf/atf-sh/t_tc.sh"
    to "atf-sh/tc_test.sh"

rename "tests/atf/atf-sh/t_tp.sh"
    to "atf-sh/tp_test.sh"

rename "tests/atf/test_programs/Atffile"
    to "test-programs/Atffile"

rename "tests/atf/test_programs/common.sh"
    to "test-programs/common.sh"

rename "tests/atf/test_programs/h_c.c"
    to "test-programs/h_c.c"

rename "tests/atf/test_programs/h_cpp.cpp"
    to "test-programs/h_cpp.cpp"

rename "tests/atf/test_programs/h_sh.sh"
    to "test-programs/h_sh.sh"

rename "tests/atf/test_programs/t_config.sh"
    to "test-programs/config_test.sh"

rename "tests/atf/test_programs/t_fork.sh"
    to "test-programs/fork_test.sh"

rename "tests/atf/test_programs/t_meta_data.sh"
    to "test-programs/meta_data_test.sh"

rename "tests/atf/test_programs/t_result.sh"
    to "test-programs/result_test.sh"

rename "tests/atf/test_programs/t_srcdir.sh"
    to "test-programs/srcdir_test.sh"

add_dir "test-programs"

add_file "TODO.reorg"
 content [9f3f0a3225399e5f1a2971d8cfe09d5772810cbf]

patch "Atffile"
 from [e2bc70a97dabef91b96438feee3f555de7a21cfd]
   to [f068b15e6017b4f34b2e9651856df211b1c38f80]

patch "Makefile.am.m4"
 from [b7fe03bd15fb7370ec8e2703b60bd4bab0a7dc7e]
   to [78743dec21a73be613a9c5d54cc94dd14827c0df]

patch "NEWS"
 from [4beb7d2b4876be4a5ae6980e2d79389646417a21]
   to [e48e6ae6ea9efa3635234910b86aeebac14bd65c]

patch "atf-c/Atffile"
 from [89ed05a2d39237802290301cc668c42c80b64201]
   to [d6455d8900cbf4870e7659aed180a770a1a5a02f]

patch "atf-c/macros_test.c"
 from [003090d79ac993136628d2f949018113b6c611b2]
   to [3b536f27612524539c8eff0205decf4fc6bbb77d]

patch "atf-c++/Atffile"
 from [1a6171b0836729a743010465858a0ddd9b6bf8d2]
   to [62409e00a6c30dcdcfe86b0a4a91f1e03c1d7ed8]

patch "atf-check/Atffile"
 from [89ed05a2d39237802290301cc668c42c80b64201]
   to [d6455d8900cbf4870e7659aed180a770a1a5a02f]

patch "atf-config/Atffile"
 from [89ed05a2d39237802290301cc668c42c80b64201]
   to [d6455d8900cbf4870e7659aed180a770a1a5a02f]

patch "atf-report/Atffile"
 from [89ed05a2d39237802290301cc668c42c80b64201]
   to [d6455d8900cbf4870e7659aed180a770a1a5a02f]

patch "atf-run/Atffile"
 from [89ed05a2d39237802290301cc668c42c80b64201]
   to [d6455d8900cbf4870e7659aed180a770a1a5a02f]

patch "atf-sh/Atffile"
 from [748eb94d607be98efb0e418bab08a916ec57d223]
   to [a417364ffbee62cb802a403583053608bc1a2817]

patch "test-programs/Atffile"
 from [d6f73682105157a9700af01e3bec0398a1dc8da6]
   to [3e448589dc4e30e0aa75a8e975bf8b949c709533]


Home | Main Index | Thread Index | Old Index