From f5cb9d1811fb30faabf8eff2d7f9ecad4098d99c Mon Sep 17 00:00:00 2001 From: Matthieu Boileau <matthieu.boileau@math.unistra.fr> Date: Wed, 29 Nov 2017 18:48:19 +0100 Subject: [PATCH] Remove helloworld --- helloworld.c | 7 ------- makefile | 8 +------- test_helloworld.py | 8 -------- 3 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 helloworld.c delete mode 100644 test_helloworld.py diff --git a/helloworld.c b/helloworld.c deleted file mode 100644 index 9ddb72c..0000000 --- a/helloworld.c +++ /dev/null @@ -1,7 +0,0 @@ -#include <stdio.h> - -int main(void) -{ - printf("hello, world\n"); - return 0; -} diff --git a/makefile b/makefile index e7a80f9..6a94f61 100644 --- a/makefile +++ b/makefile @@ -1,10 +1,4 @@ -all: helloworld pythran - -helloworld: - gcc helloworld.c -o helloworld.e - -test: helloworld - python test_helloworld.py +all: pythran pythran: pythran rosenbrock.py -o rosenbrock_pythran.so diff --git a/test_helloworld.py b/test_helloworld.py deleted file mode 100644 index 7e6deb4..0000000 --- a/test_helloworld.py +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -""" -Test helloworld.c -""" - -import os -assert os.popen('./helloworld.e', 'r').read() == "hello, world\n" -- GitLab