2018-10-18 00:27:06 +01:00
|
|
|
|
## Copyright (C) 2017 Jeremiah Orians
|
|
|
|
|
## This file is part of M2-Planet.
|
|
|
|
|
##
|
|
|
|
|
## M2-Planet is free software: you can redistribute it and/or modify
|
|
|
|
|
## it under the terms of the GNU General Public License as published by
|
|
|
|
|
## the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
## (at your option) any later version.
|
|
|
|
|
##
|
|
|
|
|
## M2-Planet is distributed in the hope that it will be useful,
|
|
|
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
## GNU General Public License for more details.
|
|
|
|
|
##
|
|
|
|
|
## You should have received a copy of the GNU General Public License
|
|
|
|
|
## along with M2-Planet. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
2018-01-20 22:24:45 +00:00
|
|
|
|
# Prevent rebuilding
|
|
|
|
|
VPATH = bin:test:test/results
|
2019-11-17 10:21:58 +00:00
|
|
|
|
PACKAGE = m2-planet
|
2018-01-20 22:24:45 +00:00
|
|
|
|
|
2020-01-22 23:03:28 +00:00
|
|
|
|
# C compiler settings
|
|
|
|
|
CC?=gcc
|
|
|
|
|
CFLAGS:=$(CFLAGS) -D_GNU_SOURCE -O0 -std=c99 -ggdb
|
|
|
|
|
|
2018-01-20 22:24:45 +00:00
|
|
|
|
all: M2-Planet
|
|
|
|
|
|
2019-03-30 13:25:52 +00:00
|
|
|
|
M2-Planet: bin results cc.h cc_reader.c cc_strings.c cc_types.c cc_core.c cc.c
|
2020-01-22 23:03:28 +00:00
|
|
|
|
$(CC) $(CFLAGS) \
|
|
|
|
|
functions/match.c \
|
|
|
|
|
functions/in_set.c \
|
|
|
|
|
functions/numerate_number.c \
|
|
|
|
|
functions/file_print.c \
|
|
|
|
|
functions/number_pack.c \
|
|
|
|
|
functions/string.c \
|
|
|
|
|
functions/require.c \
|
|
|
|
|
cc_reader.c \
|
|
|
|
|
cc_strings.c \
|
|
|
|
|
cc_types.c \
|
|
|
|
|
cc_core.c \
|
|
|
|
|
cc.c \
|
|
|
|
|
cc.h \
|
|
|
|
|
gcc_req.h \
|
|
|
|
|
-o bin/M2-Planet
|
2018-02-24 02:18:23 +00:00
|
|
|
|
|
2018-01-20 22:24:45 +00:00
|
|
|
|
# Clean up after ourselves
|
|
|
|
|
.PHONY: clean
|
|
|
|
|
clean:
|
|
|
|
|
rm -rf bin/ test/results/
|
2018-01-25 01:00:22 +00:00
|
|
|
|
./test/test00/cleanup.sh
|
|
|
|
|
./test/test01/cleanup.sh
|
|
|
|
|
./test/test02/cleanup.sh
|
|
|
|
|
./test/test03/cleanup.sh
|
|
|
|
|
./test/test04/cleanup.sh
|
|
|
|
|
./test/test05/cleanup.sh
|
|
|
|
|
./test/test06/cleanup.sh
|
|
|
|
|
./test/test07/cleanup.sh
|
|
|
|
|
./test/test08/cleanup.sh
|
|
|
|
|
./test/test09/cleanup.sh
|
|
|
|
|
./test/test10/cleanup.sh
|
2018-02-01 04:14:40 +00:00
|
|
|
|
./test/test11/cleanup.sh
|
|
|
|
|
./test/test12/cleanup.sh
|
|
|
|
|
./test/test13/cleanup.sh
|
2018-02-24 02:18:23 +00:00
|
|
|
|
./test/test14/cleanup.sh
|
|
|
|
|
./test/test15/cleanup.sh
|
|
|
|
|
./test/test16/cleanup.sh
|
|
|
|
|
./test/test17/cleanup.sh
|
|
|
|
|
./test/test18/cleanup.sh
|
|
|
|
|
./test/test19/cleanup.sh
|
2018-05-03 01:56:44 +01:00
|
|
|
|
./test/test20/cleanup.sh
|
2018-06-02 02:13:45 +01:00
|
|
|
|
./test/test21/cleanup.sh
|
2018-06-02 02:45:48 +01:00
|
|
|
|
./test/test22/cleanup.sh
|
2018-06-02 03:52:30 +01:00
|
|
|
|
./test/test23/cleanup.sh
|
2018-07-20 03:33:02 +01:00
|
|
|
|
./test/test24/cleanup.sh
|
2020-01-25 19:15:45 +00:00
|
|
|
|
./test/test25/cleanup.sh
|
|
|
|
|
./test/test26/cleanup.sh
|
2018-01-21 19:42:09 +00:00
|
|
|
|
./test/test99/cleanup.sh
|
2018-03-06 00:13:20 +00:00
|
|
|
|
./test/test100/cleanup.sh
|
2018-01-20 22:24:45 +00:00
|
|
|
|
|
|
|
|
|
# Directories
|
|
|
|
|
bin:
|
|
|
|
|
mkdir -p bin
|
|
|
|
|
|
|
|
|
|
results:
|
|
|
|
|
mkdir -p test/results
|
|
|
|
|
|
|
|
|
|
# tests
|
2019-04-18 01:19:17 +01:00
|
|
|
|
test: test00-amd64-binary \
|
|
|
|
|
test01-amd64-binary \
|
|
|
|
|
test02-amd64-binary \
|
2019-04-19 22:43:59 +01:00
|
|
|
|
test03-amd64-binary \
|
|
|
|
|
test04-amd64-binary \
|
|
|
|
|
test05-amd64-binary \
|
|
|
|
|
test06-amd64-binary \
|
|
|
|
|
test07-amd64-binary \
|
|
|
|
|
test08-amd64-binary \
|
2019-04-23 00:30:08 +01:00
|
|
|
|
test09-amd64-binary \
|
|
|
|
|
test10-amd64-binary \
|
|
|
|
|
test11-amd64-binary \
|
|
|
|
|
test12-amd64-binary \
|
|
|
|
|
test13-amd64-binary \
|
|
|
|
|
test14-amd64-binary \
|
|
|
|
|
test15-amd64-binary \
|
|
|
|
|
test16-amd64-binary \
|
|
|
|
|
test17-amd64-binary \
|
|
|
|
|
test18-amd64-binary \
|
|
|
|
|
test19-amd64-binary \
|
|
|
|
|
test20-amd64-binary \
|
|
|
|
|
test21-amd64-binary \
|
|
|
|
|
test22-amd64-binary \
|
|
|
|
|
test23-amd64-binary \
|
|
|
|
|
test24-amd64-binary \
|
|
|
|
|
test25-amd64-binary \
|
|
|
|
|
test26-amd64-binary \
|
|
|
|
|
test99-amd64-binary \
|
|
|
|
|
test100-amd64-binary \
|
2019-04-18 01:19:17 +01:00
|
|
|
|
test00-knight-posix-binary \
|
2019-02-24 01:18:53 +00:00
|
|
|
|
test01-knight-posix-binary \
|
2019-02-24 02:36:26 +00:00
|
|
|
|
test02-knight-posix-binary \
|
2019-02-24 11:48:31 +00:00
|
|
|
|
test03-knight-posix-binary \
|
2019-02-24 14:58:47 +00:00
|
|
|
|
test04-knight-posix-binary \
|
|
|
|
|
test05-knight-posix-binary \
|
2019-02-24 22:46:05 +00:00
|
|
|
|
test06-knight-posix-binary \
|
|
|
|
|
test07-knight-posix-binary \
|
|
|
|
|
test08-knight-posix-binary \
|
2019-02-25 01:53:45 +00:00
|
|
|
|
test09-knight-posix-binary \
|
|
|
|
|
test10-knight-posix-binary \
|
2019-02-26 23:04:49 +00:00
|
|
|
|
test11-knight-posix-binary \
|
|
|
|
|
test12-knight-posix-binary \
|
|
|
|
|
test13-knight-posix-binary \
|
|
|
|
|
test14-knight-posix-binary \
|
2019-03-01 01:52:01 +00:00
|
|
|
|
test15-knight-posix-binary \
|
|
|
|
|
test16-knight-posix-binary \
|
2019-03-09 16:56:16 +00:00
|
|
|
|
test17-knight-posix-binary \
|
|
|
|
|
test18-knight-posix-binary \
|
|
|
|
|
test19-knight-posix-binary \
|
|
|
|
|
test20-knight-posix-binary \
|
|
|
|
|
test21-knight-posix-binary \
|
|
|
|
|
test22-knight-posix-binary \
|
|
|
|
|
test23-knight-posix-binary \
|
|
|
|
|
test24-knight-posix-binary \
|
|
|
|
|
test99-knight-posix-binary \
|
2019-03-09 20:25:29 +00:00
|
|
|
|
test100-knight-posix-binary \
|
2019-04-18 01:19:17 +01:00
|
|
|
|
test00-knight-native-binary\
|
|
|
|
|
test01-knight-native-binary\
|
|
|
|
|
test02-knight-native-binary\
|
|
|
|
|
test03-knight-native-binary\
|
|
|
|
|
test04-knight-native-binary\
|
|
|
|
|
test05-knight-native-binary\
|
|
|
|
|
test06-knight-native-binary\
|
|
|
|
|
test07-knight-native-binary\
|
|
|
|
|
test08-knight-native-binary\
|
|
|
|
|
test09-knight-native-binary\
|
|
|
|
|
test10-knight-native-binary\
|
|
|
|
|
test11-knight-native-binary\
|
|
|
|
|
test12-knight-native-binary\
|
|
|
|
|
test13-knight-native-binary\
|
|
|
|
|
test17-knight-native-binary\
|
|
|
|
|
test18-knight-native-binary\
|
|
|
|
|
test20-knight-native-binary\
|
|
|
|
|
test99-knight-native-binary\
|
2019-03-10 01:22:29 +00:00
|
|
|
|
test00-armv7l-binary \
|
2019-03-10 13:33:45 +00:00
|
|
|
|
test01-armv7l-binary \
|
2019-03-10 15:24:13 +00:00
|
|
|
|
test02-armv7l-binary \
|
2019-03-10 17:07:19 +00:00
|
|
|
|
test03-armv7l-binary \
|
|
|
|
|
test04-armv7l-binary \
|
2019-03-17 00:03:56 +00:00
|
|
|
|
test05-armv7l-binary \
|
|
|
|
|
test06-armv7l-binary \
|
2019-03-17 03:27:52 +00:00
|
|
|
|
test07-armv7l-binary \
|
|
|
|
|
test08-armv7l-binary \
|
2019-03-17 10:15:20 +00:00
|
|
|
|
test09-armv7l-binary \
|
|
|
|
|
test10-armv7l-binary \
|
|
|
|
|
test11-armv7l-binary \
|
2019-03-17 14:08:56 +00:00
|
|
|
|
test12-armv7l-binary \
|
|
|
|
|
test13-armv7l-binary \
|
2019-03-18 02:34:26 +00:00
|
|
|
|
test14-armv7l-binary \
|
|
|
|
|
test15-armv7l-binary \
|
|
|
|
|
test16-armv7l-binary \
|
|
|
|
|
test17-armv7l-binary \
|
2019-03-23 22:29:19 +00:00
|
|
|
|
test18-armv7l-binary \
|
|
|
|
|
test19-armv7l-binary \
|
2019-03-30 13:25:52 +00:00
|
|
|
|
test20-armv7l-binary \
|
|
|
|
|
test21-armv7l-binary \
|
|
|
|
|
test22-armv7l-binary \
|
2019-04-13 13:31:39 +01:00
|
|
|
|
test23-armv7l-binary \
|
|
|
|
|
test24-armv7l-binary \
|
|
|
|
|
test25-armv7l-binary \
|
|
|
|
|
test26-armv7l-binary \
|
2019-04-14 13:49:11 +01:00
|
|
|
|
test99-armv7l-binary \
|
2019-04-14 15:24:13 +01:00
|
|
|
|
test100-armv7l-binary \
|
2019-02-24 11:48:31 +00:00
|
|
|
|
test00-x86-binary \
|
|
|
|
|
test01-x86-binary \
|
|
|
|
|
test02-x86-binary \
|
|
|
|
|
test03-x86-binary \
|
2019-02-24 14:58:47 +00:00
|
|
|
|
test04-x86-binary \
|
|
|
|
|
test05-x86-binary \
|
2019-02-24 22:46:05 +00:00
|
|
|
|
test06-x86-binary \
|
|
|
|
|
test07-x86-binary \
|
|
|
|
|
test08-x86-binary \
|
2019-02-25 01:53:45 +00:00
|
|
|
|
test09-x86-binary \
|
|
|
|
|
test10-x86-binary \
|
2019-02-26 23:04:49 +00:00
|
|
|
|
test11-x86-binary \
|
|
|
|
|
test12-x86-binary \
|
|
|
|
|
test13-x86-binary \
|
|
|
|
|
test14-x86-binary \
|
2019-03-01 01:52:01 +00:00
|
|
|
|
test15-x86-binary \
|
|
|
|
|
test16-x86-binary \
|
2019-03-09 16:56:16 +00:00
|
|
|
|
test17-x86-binary \
|
|
|
|
|
test18-x86-binary \
|
|
|
|
|
test19-x86-binary \
|
|
|
|
|
test20-x86-binary \
|
|
|
|
|
test21-x86-binary \
|
|
|
|
|
test22-x86-binary \
|
|
|
|
|
test23-x86-binary \
|
|
|
|
|
test24-x86-binary \
|
2019-04-13 13:31:39 +01:00
|
|
|
|
test25-x86-binary \
|
|
|
|
|
test26-x86-binary \
|
2019-03-09 16:56:16 +00:00
|
|
|
|
test99-x86-binary \
|
|
|
|
|
test100-x86-binary | results
|
2018-01-20 22:24:45 +00:00
|
|
|
|
sha256sum -c test/test.answers
|
|
|
|
|
|
2019-04-18 01:19:17 +01:00
|
|
|
|
test00-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test00/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test01-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test01/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test02-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test02/hello-amd64.sh
|
|
|
|
|
|
2019-04-19 22:43:59 +01:00
|
|
|
|
test03-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test03/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test04-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test04/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test05-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test05/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test06-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test06/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test07-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test07/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test08-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test08/hello-amd64.sh
|
|
|
|
|
|
2019-04-23 00:30:08 +01:00
|
|
|
|
test09-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test09/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test10-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test10/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test11-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test11/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test12-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test12/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test13-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test13/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test14-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test14/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test15-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test15/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test16-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test16/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test17-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test17/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test18-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test18/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test19-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test19/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test20-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test20/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test21-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test21/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test22-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test22/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test23-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test23/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test24-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test24/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test25-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test25/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test26-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test26/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test99-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test99/hello-amd64.sh
|
|
|
|
|
|
|
|
|
|
test100-amd64-binary: M2-Planet | results
|
|
|
|
|
test/test100/hello-amd64.sh
|
|
|
|
|
|
2019-02-23 23:33:57 +00:00
|
|
|
|
test00-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test00/hello-knight-posix.sh
|
2018-01-20 22:24:45 +00:00
|
|
|
|
|
2019-02-24 01:18:53 +00:00
|
|
|
|
test01-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test01/hello-knight-posix.sh
|
2018-01-20 23:21:20 +00:00
|
|
|
|
|
2019-02-24 02:36:26 +00:00
|
|
|
|
test02-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test02/hello-knight-posix.sh
|
2018-01-21 03:56:50 +00:00
|
|
|
|
|
2019-02-24 11:48:31 +00:00
|
|
|
|
test03-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test03/hello-knight-posix.sh
|
|
|
|
|
|
2019-02-24 14:58:47 +00:00
|
|
|
|
test04-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test04/hello-knight-posix.sh
|
|
|
|
|
|
|
|
|
|
test05-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test05/hello-knight-posix.sh
|
|
|
|
|
|
2019-02-24 22:46:05 +00:00
|
|
|
|
test06-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test06/hello-knight-posix.sh
|
|
|
|
|
|
|
|
|
|
test07-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test07/hello-knight-posix.sh
|
|
|
|
|
|
|
|
|
|
test08-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test08/hello-knight-posix.sh
|
|
|
|
|
|
2019-02-25 01:53:45 +00:00
|
|
|
|
test09-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test09/hello-knight-posix.sh
|
|
|
|
|
|
|
|
|
|
test10-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test10/hello-knight-posix.sh
|
|
|
|
|
|
2019-02-26 23:04:49 +00:00
|
|
|
|
test11-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test11/hello-knight-posix.sh
|
|
|
|
|
|
|
|
|
|
test12-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test12/hello-knight-posix.sh
|
|
|
|
|
|
|
|
|
|
test13-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test13/hello-knight-posix.sh
|
|
|
|
|
|
|
|
|
|
test14-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test14/hello-knight-posix.sh
|
|
|
|
|
|
2019-03-01 01:52:01 +00:00
|
|
|
|
test15-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test15/hello-knight-posix.sh
|
|
|
|
|
|
|
|
|
|
test16-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test16/hello-knight-posix.sh
|
|
|
|
|
|
2019-03-09 16:56:16 +00:00
|
|
|
|
test17-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test17/hello-knight-posix.sh
|
|
|
|
|
|
|
|
|
|
test18-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test18/hello-knight-posix.sh
|
|
|
|
|
|
|
|
|
|
test19-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test19/hello-knight-posix.sh
|
|
|
|
|
|
|
|
|
|
test20-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test20/hello-knight-posix.sh
|
|
|
|
|
|
|
|
|
|
test21-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test21/hello-knight-posix.sh
|
|
|
|
|
|
|
|
|
|
test22-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test22/hello-knight-posix.sh
|
|
|
|
|
|
|
|
|
|
test23-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test23/hello-knight-posix.sh
|
|
|
|
|
|
|
|
|
|
test24-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test24/hello-knight-posix.sh
|
|
|
|
|
|
|
|
|
|
test99-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test99/hello-knight-posix.sh
|
2019-03-09 20:25:29 +00:00
|
|
|
|
|
|
|
|
|
test100-knight-posix-binary: M2-Planet | results
|
|
|
|
|
test/test100/hello-knight-posix.sh
|
2019-03-09 16:56:16 +00:00
|
|
|
|
|
2019-04-18 01:19:17 +01:00
|
|
|
|
test00-knight-native-binary: M2-Planet | results
|
|
|
|
|
test/test00/hello-knight-native.sh
|
|
|
|
|
|
|
|
|
|
test01-knight-native-binary: M2-Planet | results
|
|
|
|
|
test/test01/hello-knight-native.sh
|
|
|
|
|
|
|
|
|
|
test02-knight-native-binary: M2-Planet | results
|
|
|
|
|
test/test02/hello-knight-native.sh
|
|
|
|
|
|
|
|
|
|
test03-knight-native-binary: M2-Planet | results
|
|
|
|
|
test/test03/hello-knight-native.sh
|
|
|
|
|
|
|
|
|
|
test04-knight-native-binary: M2-Planet | results
|
|
|
|
|
test/test04/hello-knight-native.sh
|
|
|
|
|
|
|
|
|
|
test05-knight-native-binary: M2-Planet | results
|
|
|
|
|
test/test05/hello-knight-native.sh
|
|
|
|
|
|
|
|
|
|
test06-knight-native-binary: M2-Planet | results
|
|
|
|
|
test/test06/hello-knight-native.sh
|
|
|
|
|
|
|
|
|
|
test07-knight-native-binary: M2-Planet | results
|
|
|
|
|
test/test07/hello-knight-native.sh
|
|
|
|
|
|
|
|
|
|
test08-knight-native-binary: M2-Planet | results
|
|
|
|
|
test/test08/hello-knight-native.sh
|
|
|
|
|
|
|
|
|
|
test09-knight-native-binary: M2-Planet | results
|
|
|
|
|
test/test09/hello-knight-native.sh
|
|
|
|
|
|
|
|
|
|
test10-knight-native-binary: M2-Planet | results
|
|
|
|
|
test/test10/hello-knight-native.sh
|
|
|
|
|
|
|
|
|
|
test11-knight-native-binary: M2-Planet | results
|
|
|
|
|
test/test11/hello-knight-native.sh
|
|
|
|
|
|
|
|
|
|
test12-knight-native-binary: M2-Planet | results
|
|
|
|
|
test/test12/hello-knight-native.sh
|
|
|
|
|
|
|
|
|
|
test13-knight-native-binary: M2-Planet | results
|
|
|
|
|
test/test13/hello-knight-native.sh
|
|
|
|
|
|
|
|
|
|
test17-knight-native-binary: M2-Planet | results
|
|
|
|
|
test/test17/hello-knight-native.sh
|
|
|
|
|
|
|
|
|
|
test18-knight-native-binary: M2-Planet | results
|
|
|
|
|
test/test18/hello-knight-native.sh
|
|
|
|
|
|
|
|
|
|
test20-knight-native-binary: M2-Planet | results
|
|
|
|
|
test/test20/hello-knight-native.sh
|
|
|
|
|
|
|
|
|
|
test99-knight-native-binary: M2-Planet | results
|
|
|
|
|
test/test99/hello-knight-native.sh
|
|
|
|
|
|
2019-03-10 01:22:29 +00:00
|
|
|
|
test00-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test00/hello-armv7l.sh
|
2019-03-10 13:33:45 +00:00
|
|
|
|
|
|
|
|
|
test01-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test01/hello-armv7l.sh
|
2019-03-10 15:24:13 +00:00
|
|
|
|
|
|
|
|
|
test02-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test02/hello-armv7l.sh
|
2019-03-10 17:07:19 +00:00
|
|
|
|
|
|
|
|
|
test03-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test03/hello-armv7l.sh
|
|
|
|
|
|
|
|
|
|
test04-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test04/hello-armv7l.sh
|
2019-03-17 00:03:56 +00:00
|
|
|
|
|
|
|
|
|
test05-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test05/hello-armv7l.sh
|
|
|
|
|
|
|
|
|
|
test06-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test06/hello-armv7l.sh
|
2019-03-17 03:27:52 +00:00
|
|
|
|
|
|
|
|
|
test07-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test07/hello-armv7l.sh
|
|
|
|
|
|
|
|
|
|
test08-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test08/hello-armv7l.sh
|
2019-03-17 10:15:20 +00:00
|
|
|
|
|
|
|
|
|
test09-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test09/hello-armv7l.sh
|
|
|
|
|
|
|
|
|
|
test10-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test10/hello-armv7l.sh
|
|
|
|
|
|
|
|
|
|
test11-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test11/hello-armv7l.sh
|
2019-03-17 14:08:56 +00:00
|
|
|
|
|
|
|
|
|
test12-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test12/hello-armv7l.sh
|
|
|
|
|
|
|
|
|
|
test13-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test13/hello-armv7l.sh
|
2019-03-18 02:34:26 +00:00
|
|
|
|
|
|
|
|
|
test14-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test14/hello-armv7l.sh
|
|
|
|
|
|
|
|
|
|
test15-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test15/hello-armv7l.sh
|
|
|
|
|
|
|
|
|
|
test16-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test16/hello-armv7l.sh
|
|
|
|
|
|
|
|
|
|
test17-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test17/hello-armv7l.sh
|
2019-03-23 22:29:19 +00:00
|
|
|
|
|
|
|
|
|
test18-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test18/hello-armv7l.sh
|
|
|
|
|
|
|
|
|
|
test19-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test19/hello-armv7l.sh
|
2019-03-30 13:25:52 +00:00
|
|
|
|
|
|
|
|
|
test20-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test20/hello-armv7l.sh
|
|
|
|
|
|
|
|
|
|
test21-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test21/hello-armv7l.sh
|
|
|
|
|
|
|
|
|
|
test22-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test22/hello-armv7l.sh
|
2019-03-10 01:22:29 +00:00
|
|
|
|
|
2019-04-13 13:31:39 +01:00
|
|
|
|
test23-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test23/hello-armv7l.sh
|
|
|
|
|
|
|
|
|
|
test24-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test24/hello-armv7l.sh
|
|
|
|
|
|
|
|
|
|
test25-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test25/hello-armv7l.sh
|
|
|
|
|
|
|
|
|
|
test26-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test26/hello-armv7l.sh
|
|
|
|
|
|
2019-04-14 13:49:11 +01:00
|
|
|
|
test99-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test99/hello-armv7l.sh
|
|
|
|
|
|
2019-04-14 15:24:13 +01:00
|
|
|
|
test100-armv7l-binary: M2-Planet | results
|
|
|
|
|
test/test100/hello-armv7l.sh
|
|
|
|
|
|
2019-02-24 11:48:31 +00:00
|
|
|
|
test00-x86-binary: M2-Planet | results
|
|
|
|
|
test/test00/hello-x86.sh
|
|
|
|
|
|
|
|
|
|
test01-x86-binary: M2-Planet | results
|
|
|
|
|
test/test01/hello-x86.sh
|
|
|
|
|
|
|
|
|
|
test02-x86-binary: M2-Planet | results
|
|
|
|
|
test/test02/hello-x86.sh
|
|
|
|
|
|
|
|
|
|
test03-x86-binary: M2-Planet | results
|
|
|
|
|
test/test03/hello-x86.sh
|
2018-01-21 19:42:09 +00:00
|
|
|
|
|
2019-02-24 14:58:47 +00:00
|
|
|
|
test04-x86-binary: M2-Planet | results
|
|
|
|
|
test/test04/hello-x86.sh
|
2018-01-25 01:00:22 +00:00
|
|
|
|
|
2019-02-24 14:58:47 +00:00
|
|
|
|
test05-x86-binary: M2-Planet | results
|
|
|
|
|
test/test05/hello-x86.sh
|
2018-01-25 01:00:22 +00:00
|
|
|
|
|
2019-02-24 22:46:05 +00:00
|
|
|
|
test06-x86-binary: M2-Planet | results
|
|
|
|
|
test/test06/hello-x86.sh
|
2018-01-25 01:00:22 +00:00
|
|
|
|
|
2019-02-24 22:46:05 +00:00
|
|
|
|
test07-x86-binary: M2-Planet | results
|
|
|
|
|
test/test07/hello-x86.sh
|
2018-01-25 01:00:22 +00:00
|
|
|
|
|
2019-02-24 22:46:05 +00:00
|
|
|
|
test08-x86-binary: M2-Planet | results
|
|
|
|
|
test/test08/hello-x86.sh
|
2018-01-25 01:00:22 +00:00
|
|
|
|
|
2019-02-25 01:53:45 +00:00
|
|
|
|
test09-x86-binary: M2-Planet | results
|
|
|
|
|
test/test09/hello-x86.sh
|
2018-01-25 01:00:22 +00:00
|
|
|
|
|
2019-02-25 01:53:45 +00:00
|
|
|
|
test10-x86-binary: M2-Planet | results
|
|
|
|
|
test/test10/hello-x86.sh
|
2018-01-21 19:42:09 +00:00
|
|
|
|
|
2019-02-26 23:04:49 +00:00
|
|
|
|
test11-x86-binary: M2-Planet | results
|
|
|
|
|
test/test11/hello-x86.sh
|
2018-02-01 04:14:40 +00:00
|
|
|
|
|
2019-02-26 23:04:49 +00:00
|
|
|
|
test12-x86-binary: M2-Planet | results
|
|
|
|
|
test/test12/hello-x86.sh
|
2018-02-01 04:14:40 +00:00
|
|
|
|
|
2019-02-26 23:04:49 +00:00
|
|
|
|
test13-x86-binary: M2-Planet | results
|
|
|
|
|
test/test13/hello-x86.sh
|
2018-02-01 04:14:40 +00:00
|
|
|
|
|
2019-02-26 23:04:49 +00:00
|
|
|
|
test14-x86-binary: M2-Planet | results
|
|
|
|
|
test/test14/hello-x86.sh
|
2018-02-24 02:18:23 +00:00
|
|
|
|
|
2019-03-01 01:52:01 +00:00
|
|
|
|
test15-x86-binary: M2-Planet | results
|
|
|
|
|
test/test15/hello-x86.sh
|
2018-02-24 02:18:23 +00:00
|
|
|
|
|
2019-03-01 01:52:01 +00:00
|
|
|
|
test16-x86-binary: M2-Planet | results
|
|
|
|
|
test/test16/hello-x86.sh
|
2018-02-24 02:18:23 +00:00
|
|
|
|
|
2019-03-09 16:56:16 +00:00
|
|
|
|
test17-x86-binary: M2-Planet | results
|
|
|
|
|
test/test17/hello-x86.sh
|
2018-02-24 02:18:23 +00:00
|
|
|
|
|
2019-03-09 16:56:16 +00:00
|
|
|
|
test18-x86-binary: M2-Planet | results
|
|
|
|
|
test/test18/hello-x86.sh
|
2018-02-24 02:18:23 +00:00
|
|
|
|
|
2019-03-09 16:56:16 +00:00
|
|
|
|
test19-x86-binary: M2-Planet | results
|
|
|
|
|
test/test19/hello-x86.sh
|
2018-02-24 02:18:23 +00:00
|
|
|
|
|
2019-03-09 16:56:16 +00:00
|
|
|
|
test20-x86-binary: M2-Planet | results
|
|
|
|
|
test/test20/hello-x86.sh
|
2018-05-03 01:56:44 +01:00
|
|
|
|
|
2019-03-09 16:56:16 +00:00
|
|
|
|
test21-x86-binary: M2-Planet | results
|
|
|
|
|
test/test21/hello-x86.sh
|
2018-06-02 02:13:45 +01:00
|
|
|
|
|
2019-03-09 16:56:16 +00:00
|
|
|
|
test22-x86-binary: M2-Planet | results
|
|
|
|
|
test/test22/hello-x86.sh
|
2018-06-02 02:45:48 +01:00
|
|
|
|
|
2019-03-09 16:56:16 +00:00
|
|
|
|
test23-x86-binary: M2-Planet | results
|
|
|
|
|
test/test23/hello-x86.sh
|
2018-06-02 03:52:30 +01:00
|
|
|
|
|
2019-03-09 16:56:16 +00:00
|
|
|
|
test24-x86-binary: M2-Planet | results
|
|
|
|
|
test/test24/hello-x86.sh
|
2018-07-20 03:33:02 +01:00
|
|
|
|
|
2019-04-13 13:31:39 +01:00
|
|
|
|
test25-x86-binary: M2-Planet | results
|
|
|
|
|
test/test25/hello-x86.sh
|
|
|
|
|
|
|
|
|
|
test26-x86-binary: M2-Planet | results
|
|
|
|
|
test/test26/hello-x86.sh
|
|
|
|
|
|
2019-03-09 16:56:16 +00:00
|
|
|
|
test99-x86-binary: M2-Planet | results
|
|
|
|
|
test/test99/hello-x86.sh
|
2018-01-21 19:42:09 +00:00
|
|
|
|
|
2019-03-09 16:56:16 +00:00
|
|
|
|
test100-x86-binary: M2-Planet | results
|
|
|
|
|
test/test100/hello-x86.sh
|
2018-03-06 00:13:20 +00:00
|
|
|
|
|
2018-01-20 22:24:45 +00:00
|
|
|
|
# Generate test answers
|
|
|
|
|
.PHONY: Generate-test-answers
|
|
|
|
|
Generate-test-answers:
|
|
|
|
|
sha256sum test/results/* >| test/test.answers
|
|
|
|
|
|
|
|
|
|
DESTDIR:=
|
|
|
|
|
PREFIX:=/usr/local
|
|
|
|
|
bindir:=$(DESTDIR)$(PREFIX)/bin
|
|
|
|
|
.PHONY: install
|
|
|
|
|
install: M2-Planet
|
|
|
|
|
mkdir -p $(bindir)
|
|
|
|
|
cp $^ $(bindir)
|
2019-11-17 10:21:58 +00:00
|
|
|
|
|
|
|
|
|
### dist
|
|
|
|
|
.PHONY: dist
|
|
|
|
|
|
|
|
|
|
COMMIT=$(shell git describe --dirty)
|
|
|
|
|
TARBALL_VERSION=$(COMMIT:Release_%=%)
|
|
|
|
|
TARBALL_DIR:=$(PACKAGE)-$(TARBALL_VERSION)
|
|
|
|
|
TARBALL=$(TARBALL_DIR).tar.gz
|
|
|
|
|
# Be friendly to Debian; avoid using EPOCH
|
|
|
|
|
MTIME=$(shell git show HEAD --format=%ct --no-patch)
|
|
|
|
|
# Reproducible tarball
|
|
|
|
|
TAR_FLAGS=--sort=name --mtime=@$(MTIME) --owner=0 --group=0 --numeric-owner --mode=go=rX,u+rw,a-s
|
|
|
|
|
|
|
|
|
|
$(TARBALL):
|
|
|
|
|
(git ls-files \
|
|
|
|
|
--exclude=$(TARBALL_DIR); \
|
|
|
|
|
echo $^ | tr ' ' '\n') \
|
|
|
|
|
| tar $(TAR_FLAGS) \
|
|
|
|
|
--transform=s,^,$(TARBALL_DIR)/,S -T- -cf- \
|
|
|
|
|
| gzip -c --no-name > $@
|
|
|
|
|
|
|
|
|
|
dist: $(TARBALL)
|