Modification des tests (Création de répertoire make et bake)
This commit is contained in:
12
tests/C/test-01-from-nothing/make/README.md
Normal file
12
tests/C/test-01-from-nothing/make/README.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# Test 1 : Compilation depuis rien
|
||||
|
||||
## Description
|
||||
Ce test vérifie que lorsque les fichiers objets et exécutables sont absents,
|
||||
le programme Bake compile correctement le fichier source `main.c` en `main`.
|
||||
|
||||
## Fichiers utilisés
|
||||
- `main.c` : Fichier source en C.
|
||||
- `Bakefile` : Contient les règles de compilation.
|
||||
|
||||
## Résultat attendu
|
||||
La compilation doit se faire.
|
6
tests/C/test-01-from-nothing/make/main.c
Normal file
6
tests/C/test-01-from-nothing/make/main.c
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("Ceci est un programme de test du Bakefile !\n");
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user