I use it that way all the time, but I can't reproduce. $ touch src/snes/interface/snes.c $ make test gs=snes_tutorials-ex5_1 CC ompi/obj/snes/interface/snes.o Using MAKEFLAGS: -j8 -l12 --jobserver-auth=fifo:/tmp/GMfifo1004133 -- gs=snes_tutorials-ex5_1 CLINKER ompi/lib/libpetsc.so.3.019.1 CLINKER ompi/tests/snes/tutorials/ex5 TEST ompi/tests/counts/snes_tutorials-ex5_1.counts ok snes_tutorials-ex5_1 ok diff-snes_tutorials-ex5_1
Barry Smith <bsm...@petsc.dev> writes: > Sure, I do also with make all; make test s="something" > > I have no idea how gmakefile.test dependencies work, you'll need to get > Jed to fix the problem. > > > >> On May 23, 2023, at 10:22 AM, Matthew Knepley <knep...@gmail.com> wrote: >> >> On Tue, May 23, 2023 at 10:22 AM Barry Smith <bsm...@petsc.dev >> <mailto:bsm...@petsc.dev>> wrote: >>> >>> I never knew there was such a dependency; I always ran make all ; make >>> tests The gnumake stuff is still confusing to me so I have no idea how it >>> works or why. >> >> I run single tests all the time. That is how I develop. >> >> Matt >> >>>> On May 23, 2023, at 9:34 AM, Matthew Knepley <knep...@gmail.com >>>> <mailto:knep...@gmail.com>> wrote: >>>> >>>> The 'test' target no longer depends on 'libs' somehow so when I change >>>> source files they do not get rebuilt before my test runs. Why did we do >>>> this? >>>> >>>> Thanks, >>>> >>>> Matt >>>> >>>> -- >>>> What most experimenters take for granted before they begin their >>>> experiments is infinitely more interesting than any results to which their >>>> experiments lead. >>>> -- Norbert Wiener >>>> >>>> https://www.cse.buffalo.edu/~knepley/ >>>> <http://www.cse.buffalo.edu/~knepley/> >>> >> >> >> -- >> What most experimenters take for granted before they begin their experiments >> is infinitely more interesting than any results to which their experiments >> lead. >> -- Norbert Wiener >> >> https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>