Skip to content

Commit

Permalink
Rename tool "torture" to "stresstest"
Browse files Browse the repository at this point in the history
$ git grep -l torture | xargs sed 's,torture,stresstest,g' -i
$ git mv torture.c stresstest.c
  • Loading branch information
hartwork committed Nov 25, 2023
1 parent 05cb651 commit 8dca9fe
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux_and_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}
run: |-
CFLAGS='-std=gnu99 -pedantic -Werror' make all torture
CFLAGS='-std=gnu99 -pedantic -Werror' make all stresstest
- name: 'Install'
run: |-
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
torture
stresstest
ttyplot
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ MANPREFIX ?= $(PREFIX)/man
CFLAGS += -Wall -Wextra
CFLAGS += `pkg-config --cflags ncursesw`
LDLIBS += `pkg-config --libs ncursesw`
torture: LDLIBS = -lm
stresstest: LDLIBS = -lm

all: ttyplot

Expand All @@ -19,13 +19,13 @@ uninstall:
rm -f $(DESTDIR)$(MANPREFIX)/man1/ttyplot.1

clean:
rm -f ttyplot torture *.o
rm -f ttyplot stresstest *.o

require_pkgconfig:
which pkg-config

ttyplot.o: require_pkgconfig

torture.o: require_pkgconfig
stresstest.o: require_pkgconfig

.PHONY: all clean install uninstall require_pkgconfig
2 changes: 1 addition & 1 deletion torture.c → stresstest.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// torture ttyplot
// stresstest ttyplot
//
// License: Apache 2.0
//
Expand Down

0 comments on commit 8dca9fe

Please sign in to comment.