Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
drop all the executable file extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
anthraxx committed May 23, 2016
1 parent 6af2385 commit 2a6e3d5
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
22 changes: 11 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
UNIXBENCH=./unixbench-tests.sh
FFMPEG=./ffmpeg-tests.sh
XZ=./xz-tests.sh
UNIXBENCH=./test-unixbench
FFMPEG=./test-ffmpeg
XZ=./test-xz

.PHONY: unixbench xz ffmpeg
.PHONY: test-unixbench test-xz test-ffmpeg

all: unixbench xz ffmpeg
all: test-unixbench test-xz test-ffmpeg

unixbench unixbench-1 unixbench-2 unixbench-3 unixbench-4 unixbench-5 unixbench-6 unixbench-7 unixbench-8:
${UNIXBENCH} $(subst unixbench,,$(@:unixbench-%=%))
test-unixbench test-unixbench-1 test-unixbench-2 test-unixbench-3 test-unixbench-4 test-unixbench-5 test-unixbench-6 test-unixbench-7 test-unixbench-8:
${UNIXBENCH} $(subst test-unixbench,,$(@:test-unixbench-%=%))

xz xz-1 xz-2 xz-3 xz-4 xz-5 xz-6 xz-7 xz-8:
${XZ} $(subst xz,,$(@:xz-%=%))
test-xz test-xz-1 test-xz-2 test-xz-3 test-xz-4 test-xz-5 test-xz-6 test-xz-7 test-xz-8:
${XZ} $(subst test-xz,,$(@:test-xz-%=%))

ffmpeg ffmpeg-1 ffmpeg-2 ffmpeg-3 ffmpeg-4 ffmpeg-5 ffmpeg-6 ffmpeg-7 ffmpeg-8: submodules
${FFMPEG} $(subst ffmpeg,,$(@:ffmpeg-%=%))
test-ffmpeg test-ffmpeg-1 test-ffmpeg-2 test-ffmpeg-3 test-ffmpeg-4 test-ffmpeg-5 test-ffmpeg-6 test-ffmpeg-7 test-ffmpeg-8: submodules
${FFMPEG} $(subst test-ffmpeg,,$(@:test-ffmpeg-%=%))

submodules:
git submodule update --init --rebase
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ Usage

1. Download: ``git clone https://github.com/pid1/test-sec-flags.git --recursive``
2. cd into the project directory: ``cd test-sec-flags``
3. Run the script: ``./<foo>-tests.sh``
3. Run the script: ``./test-<foo>``

Run a specific test case:

- pass the test case number to the script: ``./<foo>-tests.sh 8``
- pass the test case number to the script: ``./test-<foo> 8``

Makefile overlay:

- invoke all tests of all suites: ``make``
- invole all test cases of a suite: ``make unixbench``
- invole specific test cases of a suite: ``make unixbench-5``
- invole all test cases of a suite: ``make test-unixbench``
- invole specific test cases of a suite: ``make test-unixbench-5``

All of the results will be output to test1.txt, test2.txt, and so on inside of a directory. This will be organized and made easier soon. Summary results for other users can be viewed at https://github.com/pid1/test-sec-flags/wiki.

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2a6e3d5

Please sign in to comment.