cmCTestCommand.cxx 719 B

12345678910111213141516171819
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #include "cmCTestCommand.h"
  4. #include "cmExecutionStatus.h"
  5. #include "cmMakefile.h"
  6. bool cmCTestCommand::operator()(std::vector<cmListFileArgument> const& args,
  7. cmExecutionStatus& status) const
  8. {
  9. cmMakefile& mf = status.GetMakefile();
  10. std::vector<std::string> expandedArguments;
  11. if (!mf.ExpandArguments(args, expandedArguments)) {
  12. // There was an error expanding arguments. It was already
  13. // reported, so we can skip this command without error.
  14. return true;
  15. }
  16. return this->InitialPass(expandedArguments, status);
  17. }