- changed milestone to 2022.3.0 release
Support more complex test compilation
This issue is a request for support in our make infrastructure (make dev-check
in particular) for tests which are more general than a C++ source file compiled using upcxx
to produce an executable.
Likely mechanisms for such generality include running bash
or a child make
with appropriate inputs, instead of running the compiler. That is probably as simple as dispatching based on the "source file" suffix (e.g. .sh
or .mak
instead of .cpp
). Implementing either shell or make seems sufficient, since each can run the other fairly trivially.
I don't see supporting generalizations to test execution as part of this issue. So, the shell script or make command would still be expected to generate an executable with the corresponding file name, suitable for execution with upcxx-run
.
Either I or Dan are qualified to work on this, having both worked on the current implementation of tests. So, I am not yet picking an assignee.
Comments (4)
-
-
reporter - changed status to open
I am working on this in PR 398
-
reporter - changed status to resolved
PR 398 has been merged.
The work included support for
.sh
suffixed files in tests directories to designate scripts which build tests, as well as a means for them to customize the run command when that is necessary. -
reporter -
assigned issue to
-
assigned issue to
- Log in to comment
Mass roll-over of open issues to next release milestone