Skip to content
Snippets Groups Projects
Commit ab656bec authored by Julien David's avatar Julien David
Browse files

premier test unitaire

parent 42451a00
No related branches found
No related tags found
1 merge request!16Ajout gitlab ci
Pipeline #3029 failed with stage
in 6 seconds
......@@ -18,4 +18,9 @@ lipn-search:
stage: test
script:
- echo "Début de la phase de test"
- echo "Début des tests sur l'index inversé"
- cd index_inverse/test/
- pytest test_hamming.py
- cd ../../
- echo "Fin des tests sur l'index inversé"
- echo "Fin de la phase de test"
\ No newline at end of file
CC= gcc
CXXFLAGS= -Wall --pedantic -O3
CPP_O_FILE = test-graphe.o test-liste.o test-pagerank.o
CPP_O_FILE = test-graphe.o test-liste.o
LIB = -lm
all: $(CPP_O_FILE)
$(CC) $(CXXFLAGS) -o test-graphe.exe test-graphe.c ../src/graphe.c $(LIB)
$(CC) $(CXXFLAGS) -o test-liste.exe test-liste.c ../src/liste_url.c $(LIB)
$(CC) $(CXXFLAGS) -o test-pagerank.exe test-pagerank.c ../src/pagerank.c ../src/graphe.c ../src/liste_url.c $(LIB)
clean:
rm -rf *.o *.exe
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment