<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <br>
    <font size="+1"><a class="moz-txt-link-freetext" href="https://gitlab.com/petsc/petsc/-/merge_requests/3525">https://gitlab.com/petsc/petsc/-/merge_requests/3525</a><br>
      <br>
      Your complaint about the test harness verbosity when running
      restricted set of tests is also fixed in this one as well (and
      this one is so nice I should have done this quite awhile ago).<br>
      <br>
      Scott<br>
      <br>
    </font><br>
    <div class="moz-cite-prefix">On 12/29/20 8:32 PM, Barry Smith wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:A0215169-133A-413C-9E91-20530313F84B@petsc.dev">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div class=""><br class="">
      </div>
      <div class="">Scott,</div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
      <div class="">I spent way to much time puzzling over why </div>
      <div class=""><br class="">
      </div>
      <div class="">
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures;"
            class="">[bsmith@p1 petsc]$ make -f gmakefile.test test
            search='src*ts*tests*ex26*'</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures;"
            class="">Using MAKEFLAGS: -- search=src*ts*tests*ex26*</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures;"
            class=""># No tests run</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures;"
            class=""># No tests run</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures;"
            class=""># No tests run</span></div>
      </div>
      <div style="margin: 0px; font-stretch: normal; font-size: 14px;
        line-height: normal; font-family: Menlo;" class=""><span
          style="font-variant-ligatures: no-common-ligatures;" class=""><br
            class="">
        </span></div>
      <div style="margin: 0px; font-stretch: normal; font-size: 14px;
        line-height: normal; font-family: Menlo;" class=""><span
          style="font-variant-ligatures: no-common-ligatures;" class="">When
          I ran with help I noticed some seemingly slight inconsistency.
          It says for a directory you include the src but for a specific
          example you do not include src?</span></div>
      <div style="margin: 0px; font-stretch: normal; font-size: 14px;
        line-height: normal; font-family: Menlo;" class=""><span
          style="font-variant-ligatures: no-common-ligatures;" class=""><br
            class="">
        </span></div>
      <div style="margin: 0px; font-stretch: normal; font-size: 14px;
        line-height: normal; font-family: Menlo;" class=""><span
          style="font-variant-ligatures: no-common-ligatures;" class="">Would
          it be possible to add support to the test harness so if one
          puts in the src* for a specific example it still works? For
          silly people like me who type the full directory path, and
          keeping typing it over and over again even though it does not
          work. And to support not putting in the src/ for directories?</span></div>
      <div style="margin: 0px; font-stretch: normal; font-size: 14px;
        line-height: normal; font-family: Menlo;" class=""><span
          style="font-variant-ligatures: no-common-ligatures;" class=""><br
            class="">
        </span></div>
      <div style="margin: 0px; font-stretch: normal; font-size: 14px;
        line-height: normal; font-family: Menlo;" class=""><span
          style="font-variant-ligatures: no-common-ligatures;" class="">Thanks</span></div>
      <div style="margin: 0px; font-stretch: normal; font-size: 14px;
        line-height: normal; font-family: Menlo;" class=""><span
          style="font-variant-ligatures: no-common-ligatures;" class=""><br
            class="">
        </span></div>
      <div style="margin: 0px; font-stretch: normal; font-size: 14px;
        line-height: normal; font-family: Menlo;" class=""><span
          style="font-variant-ligatures: no-common-ligatures;" class=""> 
          Barry</span></div>
      <div style="margin: 0px; font-stretch: normal; font-size: 14px;
        line-height: normal; font-family: Menlo;" class=""><span
          style="font-variant-ligatures: no-common-ligatures;" class=""><br
            class="">
        </span></div>
      <div style="margin: 0px; font-stretch: normal; font-size: 14px;
        line-height: normal; font-family: Menlo;" class=""><span
          style="font-variant-ligatures: no-common-ligatures;" class=""><br
            class="">
        </span></div>
      <div style="margin: 0px; font-stretch: normal; font-size: 14px;
        line-height: normal; font-family: Menlo;" class=""><span
          style="font-variant-ligatures: no-common-ligatures;" class=""><br
            class="">
        </span></div>
      <div class="">
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">Tests
            can be generated by searching with multiple methods</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
            For general searching (using config/query_test.py):</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
              make -f gmakefile.test test search='sys*ex2*'</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">  
            or the shortcut using s</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
              make -f gmakefile.test test s='sys*ex2*'</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
            You can also use the full path to a file directory</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
              make -f gmakefile.test test s='src/sys/tests/'</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo; min-height: 16px;"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class=""></span><br class="">
        </div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
            To search for fields from the original test definitions:</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
              make -f gmakefile.test test query='requires'
            queryval='*MPI_PROCESS_SHARED_MEMORY*'</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">  
            or the shortcut using q and qv</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
              make -f gmakefile.test test q='requires'
            qv='*MPI_PROCESS_SHARED_MEMORY*'</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
            To filter results from other searches, use searchin</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
              make -f gmakefile.test test s='src/sys/tests/'
            searchin='*options*'</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo; min-height: 16px;"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class=""></span><br class="">
        </div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
            To re-run the last tests which failed:</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
              make -f gmakefile.test test test-fail='1'</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo; min-height: 16px;"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class=""></span><br class="">
        </div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
            To see which targets match a given pattern (useful for doing
            a specific target):</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
              make -f gmakefile.test print-test search=sys*</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo; min-height: 16px;"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class=""></span><br class="">
        </div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
            To build an executable, give full path to location:</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
              make -f "gmakefile.test" ${PETSC_ARCH}/tests/sys/tests/ex1</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
            or make the test with NO_RM=1</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo; min-height: 16px;"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class=""></span><br class="">
        </div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">Above
            is from: help-make help-targets help-test</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo; min-height: 16px;"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class=""></span><br class="">
        </div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">[bsmith@p1
            petsc]$ make -f gmakefile.test test
            search='src*ts*tests*ex26*'</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">Using
            MAKEFLAGS: -- search=src*ts*tests*ex26*</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">#
            No tests run</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">#
            No tests run</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">#
            No tests run</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">[bsmith@p1
            petsc]$ make -f gmakefile.test printtest
            search='src*ts*tests*ex26*'</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">make:
            *** No rule to make target 'printtest'.  Stop.</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">[bsmith@p1
            petsc]$ make -f gmakefile.test print_test
            search='src*ts*tests*ex26*'</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">make:
            *** No rule to make target 'print_test'.  Stop.</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">[bsmith@p1
            petsc]$ make -f gmakefile.test print-test
            search='src*ts*tests*ex26*'</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo; min-height: 16px;"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class=""></span><br class="">
        </div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">[bsmith@p1
            petsc]$ gmake -f gmakefile.test print-test
            search='src*ts*tests*ex26*'</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo; min-height: 16px;"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class=""></span><br class="">
        </div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">[bsmith@p1
            petsc]$ gmake -f gmakefile.test test
            search='src*ts*tests*ex26*'</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">Using
            MAKEFLAGS: -- search=src*ts*tests*ex26*</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">#
            No tests run</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">#
            No tests run</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">#
            No tests run</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">[bsmith@p1
            petsc]$ ls src/ts/tests/ex26</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">ex26 
              ex26.c  </span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">[bsmith@p1
            petsc]$ ls src/ts/tests/ex26</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">ex26 
              ex26.c  </span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">[bsmith@p1
            petsc]$ gmake -f gmakefile.test test search='ts*tests*ex26*'</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">Using
            MAKEFLAGS: -- search=ts*tests*ex26*</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""> 
                    CC arch-ci-linux-cuda-double/tests/ts/tests/ex26.o</span></div>
        <div style="margin: 0px; font-stretch: normal; font-size: 14px;
          line-height: normal; font-family: Menlo;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class="">  
              CLINKER arch-ci-linux-cuda-double/tests/ts/tests/ex26</span></div>
      </div>
      <div class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""><br class="">
        </span></div>
      <div class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""><br class="">
        </span></div>
      <div class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""><br class="">
        </span></div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Tech-X Corporation               <a class="moz-txt-link-abbreviated" href="mailto:kruger@txcorp.com">kruger@txcorp.com</a>
5621 Arapahoe Ave, Suite A       Phone: (720) 466-3196
Boulder, CO 80303                Fax:   (303) 448-7756</pre>
  </body>
</html>