Lines Matching full:atf
35 #include "atf-c++/detail/application.hpp"
36 #include "atf-c++/detail/env.hpp"
37 #include "atf-c++/detail/fs.hpp"
38 #include "atf-c++/detail/sanity.hpp"
50 const atf::fs::path filepath(filename); in fix_plain_name()
61 const std::string libexecdir = atf::env::get( in construct_script()
63 const std::string pkgdatadir = atf::env::get( in construct_script()
65 const std::string shell = atf::env::get("ATF_SHELL", ATF_SHELL); in construct_script()
69 (*command) += ("Atf_Check='" + libexecdir + "/atf-check' ; " + in construct_script()
108 class atf_sh : public atf::application::app {
111 atf::fs::path m_shell;
123 "atf-sh is a shell interpreter that extends the functionality of the "
124 "system sh(1) with the atf-sh library.";
127 app(m_description, "atf-sh(1)"), in atf_sh()
128 m_shell(atf::fs::path(atf::env::get("ATF_SHELL", ATF_SHELL))) in atf_sh()
136 using atf::application::option; in specific_options()
139 INV(m_shell == atf::fs::path(atf::env::get("ATF_SHELL", ATF_SHELL))); in specific_options()
151 m_shell = atf::fs::path(arg); in process_option()
163 throw atf::application::usage_error("No test program provided"); in main()
165 const atf::fs::path script(m_argv[0]); in main()
166 if (!atf::fs::exists(script)) in main()