Modification des tests (Création de répertoire make et bake)
This commit is contained in:
13
tests/C/test-02-already-exist/make/README.md
Normal file
13
tests/C/test-02-already-exist/make/README.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Test 2 : Compilation où le résultat existe déjà
|
||||
|
||||
## Description
|
||||
Ce test vérifie que si l'exécutable `main` est déjà présent et que `main.c`
|
||||
n'a pas été modifié, alors `Bake` ne tente pas de recompiler.
|
||||
|
||||
## Fichiers utilisés
|
||||
- `main.c` : Fichier source inchangé.
|
||||
- `Bakefile` : Contient les règles de compilation.
|
||||
- `main` : Exécutable déjà généré.
|
||||
|
||||
## Résultat attendu
|
||||
Aucun message indiquant la compilation ne doit apparaître.
|
BIN
tests/C/test-02-already-exist/make/main
Executable file
BIN
tests/C/test-02-already-exist/make/main
Executable file
Binary file not shown.
7
tests/C/test-02-already-exist/make/main.c
Normal file
7
tests/C/test-02-already-exist/make/main.c
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("Ceci est un programme de test du Bakefile !\n");
|
||||
printf("test\n");
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user