aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-09-13 09:58:17 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-09-18 23:06:08 -0400
commit8f17199d16bcdb29516d34514f95d1a117f6bd26 (patch)
tree15b96d2d2ab577472fcf392aea7cc4f15f8de360 /include
parentb7251ce3bf65bcbec7ecbb98a0eb0b3c9abde507 (diff)
downloadstasis-8f17199d16bcdb29516d34514f95d1a117f6bd26.tar.gz
Implement multiprocessing pool(s)
* Adds --cpu-limit and --parallel-fail-fast arguments * Adds disable, parallel, and setup_script keys to [test] blocks
Diffstat (limited to 'include')
-rw-r--r--include/delivery.h3
-rw-r--r--include/template_func_proto.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/include/delivery.h b/include/delivery.h
index 067cd0b..6dd6cc4 100644
--- a/include/delivery.h
+++ b/include/delivery.h
@@ -149,7 +149,10 @@ struct Delivery {
char *name; ///< Name of package
char *version; ///< Version of package
char *repository; ///< Git repository of package
+ char *script_setup; ///< Commands to execute before the main script
char *script; ///< Commands to execute
+ bool disable; ///< Toggle a test block
+ bool parallel; ///< Toggle parallel or serial execution
char *build_recipe; ///< Conda recipe to build (optional)
char *repository_info_ref; ///< Git commit hash
char *repository_info_tag; ///< Git tag (first parent)
diff --git a/include/template_func_proto.h b/include/template_func_proto.h
index 7778a11..0c8bbb7 100644
--- a/include/template_func_proto.h
+++ b/include/template_func_proto.h
@@ -7,5 +7,6 @@ int get_github_release_notes_tplfunc_entrypoint(void *frame, void *data_out);
int get_github_release_notes_auto_tplfunc_entrypoint(void *frame, void *data_out);
int get_junitxml_file_entrypoint(void *frame, void *data_out);
int get_basetemp_dir_entrypoint(void *frame, void *data_out);
+int tox_run_entrypoint(void *frame, void *data_out);
#endif //TEMPLATE_FUNC_PROTO_H \ No newline at end of file