Project

General

Profile

Revision 5d9f326b regression_tests/modules/strategies.cmake

View differences:

regression_tests/modules/strategies.cmake
606 606
    )
607 607

  
608 608
  #********************* gprbuild ${L}.gpr ***************************
609
  add_test(NAME ${GEN_TESTS_PREFIX}_ADA_GPRBUILD_${L}_${GEN_NODE}_${LUS_OPTS_CUT}_${GEN_CALL_ID}
610
    COMMAND  gprbuild -p ${L}.gpr
609
  add_test(NAME ${GEN_TESTS_PREFIX}_ADA_GPRBUILD_EXE_${L}_${GEN_NODE}_${LUS_OPTS_CUT}_${GEN_CALL_ID}
610
    COMMAND  gprbuild -p ${L}_exe.gpr
611 611
    WORKING_DIRECTORY ${LUSTRE_OUTPUT_DIR_${L}_${GEN_NODE}_${LUS_OPTS_CUT}}
612 612
    )
613
  SET_TESTS_PROPERTIES ( ${GEN_TESTS_PREFIX}_ADA_GPRBUILD_${L}_${GEN_NODE}_${LUS_OPTS_CUT}_${GEN_CALL_ID}
613
  SET_TESTS_PROPERTIES ( ${GEN_TESTS_PREFIX}_ADA_GPRBUILD_EXE_${L}_${GEN_NODE}_${LUS_OPTS_CUT}_${GEN_CALL_ID}
614 614
    PROPERTIES DEPENDS ${GEN_TESTS_PREFIX}_COMPIL_ADA_LUSTRE_${L}_${GEN_NODE}_${LUS_OPTS_CUT}_${GEN_CALL_ID}
615
    REQUIRED_FILES ${L}.gpr
615
    REQUIRED_FILES ${L}_exe.gpr
616
    )
617
  add_test(NAME ${GEN_TESTS_PREFIX}_ADA_GPRBUILD_LIB_${L}_${GEN_NODE}_${LUS_OPTS_CUT}_${GEN_CALL_ID}
618
    COMMAND  gprbuild -p ${L}_lib.gpr
619
    WORKING_DIRECTORY ${LUSTRE_OUTPUT_DIR_${L}_${GEN_NODE}_${LUS_OPTS_CUT}}
620
    )
621
  SET_TESTS_PROPERTIES ( ${GEN_TESTS_PREFIX}_ADA_GPRBUILD_LIB_${L}_${GEN_NODE}_${LUS_OPTS_CUT}_${GEN_CALL_ID}
622
    PROPERTIES DEPENDS ${GEN_TESTS_PREFIX}_COMPIL_ADA_LUSTRE_${L}_${GEN_NODE}_${LUS_OPTS_CUT}_${GEN_CALL_ID}
623
    REQUIRED_FILES ${L}_lib.gpr
616 624
    )
617 625
  
618 626
  #************** execute C binary **********************************
......
620 628
  if (BASH)
621 629
    add_test(
622 630
      NAME ${GEN_TESTS_PREFIX}_ADA_BIN_${L}_${GEN_NODE}_${LUS_OPTS_CUT}_${GEN_CALL_ID} 
623
      COMMAND ${BASH} -c "./ada_main < ../${L}_${GEN_NODE}_input_values > ${L}_${GEN_NODE}_${LUS_OPTS_CUT}_output_values"
631
      COMMAND ${BASH} -c "./bin/ada_main < ../${L}_${GEN_NODE}_input_values > ${L}_${GEN_NODE}_${LUS_OPTS_CUT}_output_values"
624 632
      WORKING_DIRECTORY ${LUSTRE_OUTPUT_DIR_${L}_${GEN_NODE}_${LUS_OPTS_CUT}}
625 633
      )
626 634
    SET_TESTS_PROPERTIES ( ${GEN_TESTS_PREFIX}_ADA_BIN_${L}_${GEN_NODE}_${LUS_OPTS_CUT}_${GEN_CALL_ID}
......
634 642

  
635 643
  add_test(NAME ${GEN_TESTS_PREFIX}_ADA_DIFF_${L}_${GEN_NODE}_${LUS_OPTS_CUT}_${GEN_CALL_ID}
636 644
    COMMAND diff -y ${L}_${GEN_NODE}_${LUS_OPTS_CUT}_output_values ../${L}_${GEN_NODE}_${LUS_OPTS_CUT}_output_values
637
     ${GEN_SRC_DIR}/${L}_${GEN_NODE}_${GEN_OPTS_CUT}_output_values
638 645
    WORKING_DIRECTORY ${LUSTRE_OUTPUT_DIR_${L}_${GEN_NODE}_${LUS_OPTS_CUT}}
639 646
    )
640 647
  SET_TESTS_PROPERTIES ( ${GEN_TESTS_PREFIX}_ADA_DIFF_${L}_${GEN_NODE}_${LUS_OPTS_CUT}_${GEN_CALL_ID}

Also available in: Unified diff