Skip to content
Snippets Groups Projects
Commit 0a46137d authored by Loïc Correnson's avatar Loïc Correnson
Browse files

[wp] wp-qualif utility script

parent 4eec40e4
No related branches found
No related tags found
No related merge requests found
export FRAMAC_WP_CACHE=update
export FRAMAC_WP_CACHEDIR=$(WP_QUALIF_CACHE)
...@@ -174,10 +174,6 @@ wp-qualif: ./bin/toplevel.opt ./bin/ptests.opt $(WP_QUALIF_CACHE) ...@@ -174,10 +174,6 @@ wp-qualif: ./bin/toplevel.opt ./bin/ptests.opt $(WP_QUALIF_CACHE)
FRAMAC_WP_CACHEDIR=$(WP_QUALIF_CACHE) \ FRAMAC_WP_CACHEDIR=$(WP_QUALIF_CACHE) \
./bin/ptests.opt src/plugins/wp/tests -config qualif -error-code ./bin/ptests.opt src/plugins/wp/tests -config qualif -error-code
wp-qualif-env:
echo "FRAMAC_WP_CACHE=update"
echo "FRAMAC_WP_CACHEDIR=$(WP_QUALIF_CACHE)"
wp-qualif-update: ./bin/toplevel.opt ./bin/ptests.opt $(WP_QUALIF_CACHE) wp-qualif-update: ./bin/toplevel.opt ./bin/ptests.opt $(WP_QUALIF_CACHE)
@echo "[CACHE] pull cache" @echo "[CACHE] pull cache"
@echo "[CACHE] $(WP_QUALIF_CACHE)" @echo "[CACHE] $(WP_QUALIF_CACHE)"
......
...@@ -105,11 +105,10 @@ environment. To run individual tests, you may now use: ...@@ -105,11 +105,10 @@ environment. To run individual tests, you may now use:
$ export FRAMAC_WP_CACHEDIR=$WP_QUALIF_CACHE $ export FRAMAC_WP_CACHEDIR=$WP_QUALIF_CACHE
$ ./bin/ptests.opt src/plugins/wp/tests/xxx/yyy.i -config qualif [-show|-update] $ ./bin/ptests.opt src/plugins/wp/tests/xxx/yyy.i -config qualif [-show|-update]
The necessary environment variables can also be displayed by the makefile: An utility script is provided to export the necessary environment variables
(dont forget the `.` to execute the script in the current shell environment):
$ make wp-qualif-env $ . bin/wp_qualif.sh
FRAMAC_WP_CACHE=update
FRAMAC_WP_CACHEDIR=$WP_QUALIF_CACHE
As mentionned above, it is _not_ recommanded to globally set the As mentionned above, it is _not_ recommanded to globally set the
`FRAMAC_WP_XXX` variables in your default shell environment, because WP will `FRAMAC_WP_XXX` variables in your default shell environment, because WP will
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment