[petsc-dev] false positive test

Mark Adams mfadams at lbl.gov
Sun Jan 3 10:49:21 CST 2021


My test will fail if the gold output file is missing but otherwise it seems
to always succeed. I just branched this from master.
Any ideas?

(base) 11:37 adams/landau-cleanup *= ~/Codes/petsc$ *rm*
src/ts/utils/dmplexlandau/tutorials/output/ex2_0.out
remove src/ts/utils/dmplexlandau/tutorials/output/ex2_0.out? y
(base) 11:37 adams/landau-cleanup *= ~/Codes/petsc$ *touch*
/Users/markadams/Codes/petsc/src/ts/utils/dmplexlandau/tutorials/output/ex2_0.out
(base) 11:45 2 adams/landau-cleanup *= ~/Codes/petsc$ *make -f gmakefile
--debug  test search='ts_utils_dmplexlandau_tutorials-ex2_0'*
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-apple-darwin11.3.0
Reading makefiles...
Updating goal targets....
 File `test' does not exist.
   File `report_tests' does not exist.
     File `starttime' does not exist.
       File `pre-clean' does not exist.
      Must remake target `pre-clean'.
Using MAKEFLAGS: --debug=basic --
search=ts_utils_dmplexlandau_tutorials-ex2_0
      Successfully remade target file `pre-clean'.
    Must remake target `starttime'.
    Successfully remade target file `starttime'.
     File `ts_utils_dmplexlandau_tutorials-ex2_0' does not exist.
       File
`arch-macosx-gnu-g/tests/counts/ts_utils_dmplexlandau_tutorials-ex2_0.counts'
does not exist.
      Must remake target
`arch-macosx-gnu-g/tests/counts/ts_utils_dmplexlandau_tutorials-ex2_0.counts'.
        TEST
arch-macosx-gnu-g/tests/counts/ts_utils_dmplexlandau_tutorials-ex2_0.counts
 ok ts_utils_dmplexlandau_tutorials-ex2_0
 ok diff-ts_utils_dmplexlandau_tutorials-ex2_0
      Successfully remade target file
`arch-macosx-gnu-g/tests/counts/ts_utils_dmplexlandau_tutorials-ex2_0.counts'.
    Must remake target `ts_utils_dmplexlandau_tutorials-ex2_0'.
    Successfully remade target file `ts_utils_dmplexlandau_tutorials-ex2_0'.
  Must remake target `report_tests'.

# -------------
#   Summary
# -------------
# success 2/2 tests (100.0%)
# failed 0/2 tests (0.0%)
# todo 0/2 tests (0.0%)
# skip 0/2 tests (0.0%)
#
# Wall clock time for tests: 7 sec
# Approximate CPU time (not incl. build time): 6.97 sec
#
# Timing summary (actual test time / total CPU time):
#   ts_utils_dmplexlandau_tutorials-ex2_0: 6.45 sec / 6.97 sec
  Successfully remade target file `report_tests'.
Must remake target `test'.
Successfully remade target file `test'.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20210103/0c8fa112/attachment.html>


More information about the petsc-dev mailing list