Preparato ambiente di testing allo sviluppo
This commit is contained in:
1 parent
36eca01901
commit
76197df759
4 files changed
+4
-4
No files matched your search
+1
-2
@@ -4,8 +4,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ncurses.h>
|
|
||||||
|
|
||||||
extern char productPricesFileLocation[64]; // Dichiarazione extern
|
extern char productPricesFileLocation[64]; // Dichiarazione extern
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
+1
-1
@@ -5,7 +5,7 @@ SRC_DIR = ../src
|
|||||||
TEST_EXE = test_runner
|
TEST_EXE = test_runner
|
||||||
|
|
||||||
TEST_SRCS = test.c
|
TEST_SRCS = test.c
|
||||||
SRC_FILES = $(SRC_DIR)/logic.c
|
SRC_FILES = $(SRC_DIR)/logic.c $(SRC_DIR)/globals.c
|
||||||
|
|
||||||
all: $(TEST_EXE)
|
all: $(TEST_EXE)
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
#include "logic.h"
|
#include "logic.h"
|
||||||
|
#include "globals.h"
|
||||||
|
|
||||||
int main(){
|
int main(){
|
||||||
|
printf("%s", productPricesFileLocation);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
Binary file not shown.
Reference in new issue
Block a user