From 92df01b99d155f860877cc8037b01baee9224300 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Fri, 15 May 2020 17:59:05 -0500 Subject: [PATCH] Add valtest and debug to Makefile help. --- Makefile | 4 +++- test.janet | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 test.janet diff --git a/Makefile b/Makefile index 581ddbae..c6cb3d80 100644 --- a/Makefile +++ b/Makefile @@ -317,8 +317,10 @@ help: @echo ' make test Test a built Janet' @echo ' make valgrind Assess Janet with Valgrind' @echo ' make callgrind Assess Janet with Valgrind, using Callgrind' + @echo ' make valtest Run the test suite with Valgrind to check for memory leaks' @echo ' make dist Create a distribution tarball' @echo ' make docs Generate documentation' + @echo ' make debug Run janet with GDB or LLDB' @echo ' make install Install into the current filesystem' @echo ' make uninstall Uninstall from the current filesystem' @echo ' make clean Clean intermediate build artifacts' @@ -327,4 +329,4 @@ help: @echo .PHONY: clean install repl debug valgrind test \ - valtest emscripten dist uninstall docs grammar format help + valtest dist uninstall docs grammar format help diff --git a/test.janet b/test.janet new file mode 100644 index 00000000..8bd10066 --- /dev/null +++ b/test.janet @@ -0,0 +1,3 @@ +(defn hungry + [x] + (print x " is hungry"))