Skip to content
Snippets Groups Projects
Commit f5cb9d18 authored by Matthieu Boileau's avatar Matthieu Boileau
Browse files

Remove helloworld

parent 5a40f1e5
1 merge request!7Exo3 virtualenv
Pipeline #8874 failed with stages
in 47 seconds
#include <stdio.h>
int main(void)
{
printf("hello, world\n");
return 0;
}
all: helloworld pythran all: pythran
helloworld:
gcc helloworld.c -o helloworld.e
test: helloworld
python test_helloworld.py
pythran: pythran:
pythran rosenbrock.py -o rosenbrock_pythran.so pythran rosenbrock.py -o rosenbrock_pythran.so
......
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Test helloworld.c
"""
import os
assert os.popen('./helloworld.e', 'r').read() == "hello, world\n"
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment