From da1ef60ac7e8ebe530b0502473c1d59c06970f15 Mon Sep 17 00:00:00 2001 From: Bruno Ribas Date: Fri, 4 Nov 2016 15:13:59 -0200 Subject: problemtemplate: Adding py2 and py3 support Tests scripts for both py2 and py3 are working. Signed-off-by: Bruno Ribas --- doc/problemexamples/problemtemplate/tests/py2 | 38 +++++++++++++++++++++++++++ doc/problemexamples/problemtemplate/tests/py3 | 38 +++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100755 doc/problemexamples/problemtemplate/tests/py2 create mode 100755 doc/problemexamples/problemtemplate/tests/py3 (limited to 'doc/problemexamples/problemtemplate/tests') diff --git a/doc/problemexamples/problemtemplate/tests/py2 b/doc/problemexamples/problemtemplate/tests/py2 new file mode 100755 index 0000000..3437d4f --- /dev/null +++ b/doc/problemexamples/problemtemplate/tests/py2 @@ -0,0 +1,38 @@ +#!/bin/bash +# +# This file performs a test of the autojudge system. It can run whatever you feel important to test the autojudge +# and the script files that are included in the problem package + +mkdir -p testdir +cd testdir + +cat > test.py < test.in < test.py < test.in <