From 21bef017a97e7420628bc3bc20609e8c33ae3280 Mon Sep 17 00:00:00 2001 From: mquinson Date: Thu, 2 Dec 2010 14:26:17 +0000 Subject: [PATCH] seek and destroy empty directories (using svn for that, git-svn is not sufficient) -- feels like spring cleanup in Frejus git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8897 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- .../gras/datadesc_usage/datadesc_structs.c | 1109 ----------------- .../gras/datadesc_usage/datadesc_usage.c | 736 ----------- .../borland/builder6/realistic/obj/empty.txt | 0 .../borland/builder6/simulation/obj/empty.txt | 0 .../simulation/surf/maxmin_bench/platform.xml | 10 - .../simulation/surf/maxmin_bench/trace_A.txt | 4 - .../surf/maxmin_bench/trace_A_failure.txt | 3 - .../simulation/surf/maxmin_bench/trace_B.txt | 4 - .../simulation/surf/maxmin_usage/platform.xml | 10 - .../simulation/surf/maxmin_usage/trace_A.txt | 4 - .../surf/maxmin_usage/trace_A_failure.txt | 3 - .../simulation/surf/maxmin_usage/trace_B.txt | 4 - .../simulation/surf/surf_usage/platform.xml | 10 - .../simulation/surf/surf_usage/trace_A.txt | 4 - .../surf/surf_usage/trace_A_failure.txt | 3 - .../simulation/surf/surf_usage/trace_B.txt | 4 - .../simulation/surf/surf_usage2/platform.xml | 10 - .../simulation/surf/surf_usage2/trace_A.txt | 4 - .../surf/surf_usage2/trace_A_failure.txt | 3 - .../simulation/surf/surf_usage2/trace_B.txt | 4 - .../simulation/surf/trace_usage/platform.xml | 10 - .../simulation/surf/trace_usage/trace_A.txt | 4 - .../surf/trace_usage/trace_A_failure.txt | 3 - .../simulation/surf/trace_usage/trace_B.txt | 4 - .../surf/trace_usage/trace_usage.bpf | 4 - .../surf/trace_usage/trace_usage.bpr | 264 ---- .../simulation/surf/trace_usage/trace_usage.c | 59 - .../surf/trace_usage/trace_usage.mak | 229 ---- .../surf/trace_usage/trace_usage.res | Bin 876 -> 0 bytes .../xbt/context_usage/context_usage.bpf | 4 - .../xbt/context_usage/context_usage.bpr | 264 ---- .../xbt/context_usage/context_usage.c | 120 -- .../xbt/context_usage/context_usage.mak | 229 ---- .../xbt/context_usage/context_usage.res | Bin 876 -> 0 bytes .../simulation/xbt/graphxml_usage/graph.xml | 26 - .../xbt/graphxml_usage/graphxml_usage.bpf | 4 - .../xbt/graphxml_usage/graphxml_usage.bpr | 264 ---- .../xbt/graphxml_usage/graphxml_usage.c | 177 --- .../xbt/graphxml_usage/graphxml_usage.mak | 229 ---- .../xbt/graphxml_usage/graphxml_usage.res | Bin 876 -> 0 bytes .../simulation/xbt/heap_bench/heap_bench.bpf | 4 - .../simulation/xbt/heap_bench/heap_bench.bpr | 264 ---- .../simulation/xbt/heap_bench/heap_bench.c | 133 -- .../simulation/xbt/heap_bench/heap_bench.mak | 229 ---- .../simulation/xbt/heap_bench/heap_bench.res | Bin 876 -> 0 bytes .../simulation/xbt/log_usage/log_usage.bpf | 4 - .../simulation/xbt/log_usage/log_usage.bpr | 264 ---- .../simulation/xbt/log_usage/log_usage.c | 29 - .../simulation/xbt/log_usage/log_usage.mak | 229 ---- .../simulation/xbt/log_usage/log_usage.res | Bin 876 -> 0 bytes 50 files changed, 4979 deletions(-) delete mode 100644 win32_testsuite/borland/builder6/realistic/gras/datadesc_usage/datadesc_structs.c delete mode 100644 win32_testsuite/borland/builder6/realistic/gras/datadesc_usage/datadesc_usage.c delete mode 100644 win32_testsuite/borland/builder6/realistic/obj/empty.txt delete mode 100644 win32_testsuite/borland/builder6/simulation/obj/empty.txt delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/maxmin_bench/platform.xml delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/maxmin_bench/trace_A.txt delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/maxmin_bench/trace_A_failure.txt delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/maxmin_bench/trace_B.txt delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/maxmin_usage/platform.xml delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/maxmin_usage/trace_A.txt delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/maxmin_usage/trace_A_failure.txt delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/maxmin_usage/trace_B.txt delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/surf_usage/platform.xml delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/surf_usage/trace_A.txt delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/surf_usage/trace_A_failure.txt delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/surf_usage/trace_B.txt delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/surf_usage2/platform.xml delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/surf_usage2/trace_A.txt delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/surf_usage2/trace_A_failure.txt delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/surf_usage2/trace_B.txt delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/trace_usage/platform.xml delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_A.txt delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_A_failure.txt delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_B.txt delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.bpf delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.bpr delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.c delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.mak delete mode 100644 win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.res delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.bpf delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.bpr delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.c delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.mak delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.res delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graph.xml delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.bpf delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.bpr delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.c delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.mak delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.res delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.bpf delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.bpr delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.c delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.mak delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.res delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.bpf delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.bpr delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.c delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.mak delete mode 100644 win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.res diff --git a/win32_testsuite/borland/builder6/realistic/gras/datadesc_usage/datadesc_structs.c b/win32_testsuite/borland/builder6/realistic/gras/datadesc_usage/datadesc_structs.c deleted file mode 100644 index e214ace0f4..0000000000 --- a/win32_testsuite/borland/builder6/realistic/gras/datadesc_usage/datadesc_structs.c +++ /dev/null @@ -1,1109 +0,0 @@ -/* This file is perl-generated, of course */ - -#include "gras.h" - -XBT_LOG_NEW_DEFAULT_SUBCATEGORY(structs, test, - "Logs about the gigantic struct test"); - - -#define READ 0 -#define WRITE 1 -#define COPY 2 -#define RW 3 - -/* FIXE ME to analyze - -#define READ 0 -#define WRITE 1 -#define RW 2 - -*/ - -void write_read(gras_datadesc_type_t type, void *src, void *dst, - gras_socket_t * sock, int direction); - -GRAS_DEFINE_TYPE(cccc, struct cccc { - char a; - char b; - char c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(ccsc, struct ccsc { - char a; - char b; - short int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(ccic, struct ccic { - char a; - char b; - int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(cclc, struct cclc { - char a; - char b; - long int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(ccLc, struct ccLc { - char a; - char b; - long long int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(ccfc, struct ccfc { - char a; - char b; - float c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(ccdc, struct ccdc { - char a; - char b; - double c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(sccc, struct sccc { - short int a; - char b; - char c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(scsc, struct scsc { - short int a; - char b; - short int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(scic, struct scic { - short int a; - char b; - int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(sclc, struct sclc { - short int a; - char b; - long int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(scLc, struct scLc { - short int a; - char b; - long long int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(scfc, struct scfc { - short int a; - char b; - float c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(scdc, struct scdc { - short int a; - char b; - double c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(iccc, struct iccc { - int a; - char b; - char c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(icsc, struct icsc { - int a; - char b; - short int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(icic, struct icic { - int a; - char b; - int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(iclc, struct iclc { - int a; - char b; - long int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(icLc, struct icLc { - int a; - char b; - long long int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(icfc, struct icfc { - int a; - char b; - float c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(icdc, struct icdc { - int a; - char b; - double c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(lccc, struct lccc { - long int a; - char b; - char c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(lcsc, struct lcsc { - long int a; - char b; - short int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(lcic, struct lcic { - long int a; - char b; - int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(lclc, struct lclc { - long int a; - char b; - long int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(lcLc, struct lcLc { - long int a; - char b; - long long int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(lcfc, struct lcfc { - long int a; - char b; - float c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(lcdc, struct lcdc { - long int a; - char b; - double c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(Lccc, struct Lccc { - long long int a; - char b; - char c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(Lcsc, struct Lcsc { - long long int a; - char b; - short int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(Lcic, struct Lcic { - long long int a; - char b; - int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(Lclc, struct Lclc { - long long int a; - char b; - long int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(LcLc, struct LcLc { - long long int a; - char b; - long long int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(Lcfc, struct Lcfc { - long long int a; - char b; - float c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(Lcdc, struct Lcdc { - long long int a; - char b; - double c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(fccc, struct fccc { - float a; - char b; - char c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(fcsc, struct fcsc { - float a; - char b; - short int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(fcic, struct fcic { - float a; - char b; - int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(fclc, struct fclc { - float a; - char b; - long int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(fcLc, struct fcLc { - float a; - char b; - long long int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(fcfc, struct fcfc { - float a; - char b; - float c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(fcdc, struct fcdc { - float a; - char b; - double c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(dccc, struct dccc { - double a; - char b; - char c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(dcsc, struct dcsc { - double a; - char b; - short int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(dcic, struct dcic { - double a; - char b; - int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(dclc, struct dclc { - double a; - char b; - long int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(dcLc, struct dcLc { - double a; - char b; - long long int c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(dcfc, struct dcfc { - double a; - char b; - float c; - char d; - }; - - ) - GRAS_DEFINE_TYPE(dcdc, struct dcdc { - double a; - char b; - double c; - char d; - }; - - ) -#define test(a) xbt_assert(a) -void test_structures(gras_socket_t * sock, int direction); -void test_structures(gras_socket_t * sock, int direction) -{ - struct cccc my_cccc = - { 'w' + (char) 1, 'w' + (char) 2, 'w' + (char) 3, 'w' + (char) 4 }, - my_cccc2; - struct ccsc my_ccsc = - { 'w' + (char) 1, 'w' + (char) 2, 134 + (short int) 3, -'w' + (char) 4 }, my_ccsc2; - struct ccic my_ccic = - { 'w' + (char) 1, 'w' + (char) 2, -11249 + (int) 3, 'w' + (char) 4 }, - my_ccic2; - struct cclc my_cclc = - { 'w' + (char) 1, 'w' + (char) 2, 31319919 + (long int) 3, -'w' + (char) 4 }, my_cclc2; - struct ccLc my_ccLc = - { 'w' + (char) 1, 'w' + (char) 2, -232130010 + (long long int) 3, -'w' + (char) 4 }, my_ccLc2; - struct ccfc my_ccfc = - { 'w' + (char) 1, 'w' + (char) 2, -11313.1135 + (float) 3, -'w' + (char) 4 }, my_ccfc2; - struct ccdc my_ccdc = - { 'w' + (char) 1, 'w' + (char) 2, 1424420.11331 + (double) 3, -'w' + (char) 4 }, my_ccdc2; - struct sccc my_sccc = - { 134 + (short int) 1, 'w' + (char) 2, 'w' + (char) 3, -'w' + (char) 4 }, my_sccc2; - struct scsc my_scsc = - { 134 + (short int) 1, 'w' + (char) 2, 134 + (short int) 3, -'w' + (char) 4 }, my_scsc2; - struct scic my_scic = - { 134 + (short int) 1, 'w' + (char) 2, -11249 + (int) 3, -'w' + (char) 4 }, my_scic2; - struct sclc my_sclc = - { 134 + (short int) 1, 'w' + (char) 2, 31319919 + (long int) 3, -'w' + (char) 4 }, my_sclc2; - struct scLc my_scLc = - { 134 + (short int) 1, 'w' + (char) 2, --232130010 + (long long int) 3, 'w' + (char) 4 }, my_scLc2; - struct scfc my_scfc = - { 134 + (short int) 1, 'w' + (char) 2, -11313.1135 + (float) 3, -'w' + (char) 4 }, my_scfc2; - struct scdc my_scdc = - { 134 + (short int) 1, 'w' + (char) 2, 1424420.11331 + (double) 3, -'w' + (char) 4 }, my_scdc2; - struct iccc my_iccc = - { -11249 + (int) 1, 'w' + (char) 2, 'w' + (char) 3, 'w' + (char) 4 }, - my_iccc2; - struct icsc my_icsc = - { -11249 + (int) 1, 'w' + (char) 2, 134 + (short int) 3, -'w' + (char) 4 }, my_icsc2; - struct icic my_icic = - { -11249 + (int) 1, 'w' + (char) 2, -11249 + (int) 3, -'w' + (char) 4 }, my_icic2; - struct iclc my_iclc = - { -11249 + (int) 1, 'w' + (char) 2, 31319919 + (long int) 3, -'w' + (char) 4 }, my_iclc2; - struct icLc my_icLc = - { -11249 + (int) 1, 'w' + (char) 2, -232130010 + (long long int) 3, -'w' + (char) 4 }, my_icLc2; - struct icfc my_icfc = - { -11249 + (int) 1, 'w' + (char) 2, -11313.1135 + (float) 3, -'w' + (char) 4 }, my_icfc2; - struct icdc my_icdc = - { -11249 + (int) 1, 'w' + (char) 2, 1424420.11331 + (double) 3, -'w' + (char) 4 }, my_icdc2; - struct lccc my_lccc = - { 31319919 + (long int) 1, 'w' + (char) 2, 'w' + (char) 3, -'w' + (char) 4 }, my_lccc2; - struct lcsc my_lcsc = - { 31319919 + (long int) 1, 'w' + (char) 2, 134 + (short int) 3, -'w' + (char) 4 }, my_lcsc2; - struct lcic my_lcic = - { 31319919 + (long int) 1, 'w' + (char) 2, -11249 + (int) 3, -'w' + (char) 4 }, my_lcic2; - struct lclc my_lclc = - { 31319919 + (long int) 1, 'w' + (char) 2, 31319919 + (long int) 3, -'w' + (char) 4 }, my_lclc2; - struct lcLc my_lcLc = - { 31319919 + (long int) 1, 'w' + (char) 2, --232130010 + (long long int) 3, 'w' + (char) 4 }, my_lcLc2; - struct lcfc my_lcfc = - { 31319919 + (long int) 1, 'w' + (char) 2, -11313.1135 + (float) 3, -'w' + (char) 4 }, my_lcfc2; - struct lcdc my_lcdc = - { 31319919 + (long int) 1, 'w' + (char) 2, -1424420.11331 + (double) 3, 'w' + (char) 4 }, my_lcdc2; - struct Lccc my_Lccc = - { -232130010 + (long long int) 1, 'w' + (char) 2, 'w' + (char) 3, -'w' + (char) 4 }, my_Lccc2; - struct Lcsc my_Lcsc = - { -232130010 + (long long int) 1, 'w' + (char) 2, -134 + (short int) 3, 'w' + (char) 4 }, my_Lcsc2; - struct Lcic my_Lcic = - { -232130010 + (long long int) 1, 'w' + (char) 2, -11249 + (int) 3, -'w' + (char) 4 }, my_Lcic2; - struct Lclc my_Lclc = - { -232130010 + (long long int) 1, 'w' + (char) 2, -31319919 + (long int) 3, 'w' + (char) 4 }, my_Lclc2; - struct LcLc my_LcLc = - { -232130010 + (long long int) 1, 'w' + (char) 2, --232130010 + (long long int) 3, 'w' + (char) 4 }, my_LcLc2; - struct Lcfc my_Lcfc = - { -232130010 + (long long int) 1, 'w' + (char) 2, --11313.1135 + (float) 3, 'w' + (char) 4 }, my_Lcfc2; - struct Lcdc my_Lcdc = - { -232130010 + (long long int) 1, 'w' + (char) 2, -1424420.11331 + (double) 3, 'w' + (char) 4 }, my_Lcdc2; - struct fccc my_fccc = - { -11313.1135 + (float) 1, 'w' + (char) 2, 'w' + (char) 3, -'w' + (char) 4 }, my_fccc2; - struct fcsc my_fcsc = - { -11313.1135 + (float) 1, 'w' + (char) 2, 134 + (short int) 3, -'w' + (char) 4 }, my_fcsc2; - struct fcic my_fcic = - { -11313.1135 + (float) 1, 'w' + (char) 2, -11249 + (int) 3, -'w' + (char) 4 }, my_fcic2; - struct fclc my_fclc = - { -11313.1135 + (float) 1, 'w' + (char) 2, 31319919 + (long int) 3, -'w' + (char) 4 }, my_fclc2; - struct fcLc my_fcLc = - { -11313.1135 + (float) 1, 'w' + (char) 2, --232130010 + (long long int) 3, 'w' + (char) 4 }, my_fcLc2; - struct fcfc my_fcfc = - { -11313.1135 + (float) 1, 'w' + (char) 2, -11313.1135 + (float) 3, -'w' + (char) 4 }, my_fcfc2; - struct fcdc my_fcdc = - { -11313.1135 + (float) 1, 'w' + (char) 2, -1424420.11331 + (double) 3, 'w' + (char) 4 }, my_fcdc2; - struct dccc my_dccc = - { 1424420.11331 + (double) 1, 'w' + (char) 2, 'w' + (char) 3, -'w' + (char) 4 }, my_dccc2; - struct dcsc my_dcsc = - { 1424420.11331 + (double) 1, 'w' + (char) 2, 134 + (short int) 3, -'w' + (char) 4 }, my_dcsc2; - struct dcic my_dcic = - { 1424420.11331 + (double) 1, 'w' + (char) 2, -11249 + (int) 3, -'w' + (char) 4 }, my_dcic2; - struct dclc my_dclc = - { 1424420.11331 + (double) 1, 'w' + (char) 2, -31319919 + (long int) 3, 'w' + (char) 4 }, my_dclc2; - struct dcLc my_dcLc = - { 1424420.11331 + (double) 1, 'w' + (char) 2, --232130010 + (long long int) 3, 'w' + (char) 4 }, my_dcLc2; - struct dcfc my_dcfc = - { 1424420.11331 + (double) 1, 'w' + (char) 2, --11313.1135 + (float) 3, 'w' + (char) 4 }, my_dcfc2; - struct dcdc my_dcdc = - { 1424420.11331 + (double) 1, 'w' + (char) 2, -1424420.11331 + (double) 3, 'w' + (char) 4 }, my_dcdc2; - INFO0 - ("---- Test on all possible struct having 3 fields (49 structs) ----"); - write_read(gras_datadesc_by_symbol(cccc), &my_cccc, &my_cccc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_cccc.a == my_cccc2.a); - test(my_cccc.b == my_cccc2.b); - test(my_cccc.c == my_cccc2.c); - test(my_cccc.d == my_cccc2.d); - if (!failed) - VERB0("Passed cccc"); - } - write_read(gras_datadesc_by_symbol(ccsc), &my_ccsc, &my_ccsc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_ccsc.a == my_ccsc2.a); - test(my_ccsc.b == my_ccsc2.b); - test(my_ccsc.c == my_ccsc2.c); - test(my_ccsc.d == my_ccsc2.d); - if (!failed) - VERB0("Passed ccsc"); - } - write_read(gras_datadesc_by_symbol(ccic), &my_ccic, &my_ccic2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_ccic.a == my_ccic2.a); - test(my_ccic.b == my_ccic2.b); - test(my_ccic.c == my_ccic2.c); - test(my_ccic.d == my_ccic2.d); - if (!failed) - VERB0("Passed ccic"); - } - write_read(gras_datadesc_by_symbol(cclc), &my_cclc, &my_cclc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_cclc.a == my_cclc2.a); - test(my_cclc.b == my_cclc2.b); - test(my_cclc.c == my_cclc2.c); - test(my_cclc.d == my_cclc2.d); - if (!failed) - VERB0("Passed cclc"); - } - write_read(gras_datadesc_by_symbol(ccLc), &my_ccLc, &my_ccLc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_ccLc.a == my_ccLc2.a); - test(my_ccLc.b == my_ccLc2.b); - test(my_ccLc.c == my_ccLc2.c); - test(my_ccLc.d == my_ccLc2.d); - if (!failed) - VERB0("Passed ccLc"); - } - write_read(gras_datadesc_by_symbol(ccfc), &my_ccfc, &my_ccfc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_ccfc.a == my_ccfc2.a); - test(my_ccfc.b == my_ccfc2.b); - test(my_ccfc.c == my_ccfc2.c); - test(my_ccfc.d == my_ccfc2.d); - if (!failed) - VERB0("Passed ccfc"); - } - write_read(gras_datadesc_by_symbol(ccdc), &my_ccdc, &my_ccdc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_ccdc.a == my_ccdc2.a); - test(my_ccdc.b == my_ccdc2.b); - test(my_ccdc.c == my_ccdc2.c); - test(my_ccdc.d == my_ccdc2.d); - if (!failed) - VERB0("Passed ccdc"); - } - write_read(gras_datadesc_by_symbol(sccc), &my_sccc, &my_sccc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_sccc.a == my_sccc2.a); - test(my_sccc.b == my_sccc2.b); - test(my_sccc.c == my_sccc2.c); - test(my_sccc.d == my_sccc2.d); - if (!failed) - VERB0("Passed sccc"); - } - write_read(gras_datadesc_by_symbol(scsc), &my_scsc, &my_scsc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_scsc.a == my_scsc2.a); - test(my_scsc.b == my_scsc2.b); - test(my_scsc.c == my_scsc2.c); - test(my_scsc.d == my_scsc2.d); - if (!failed) - VERB0("Passed scsc"); - } - write_read(gras_datadesc_by_symbol(scic), &my_scic, &my_scic2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_scic.a == my_scic2.a); - test(my_scic.b == my_scic2.b); - test(my_scic.c == my_scic2.c); - test(my_scic.d == my_scic2.d); - if (!failed) - VERB0("Passed scic"); - } - write_read(gras_datadesc_by_symbol(sclc), &my_sclc, &my_sclc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_sclc.a == my_sclc2.a); - test(my_sclc.b == my_sclc2.b); - test(my_sclc.c == my_sclc2.c); - test(my_sclc.d == my_sclc2.d); - if (!failed) - VERB0("Passed sclc"); - } - write_read(gras_datadesc_by_symbol(scLc), &my_scLc, &my_scLc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_scLc.a == my_scLc2.a); - test(my_scLc.b == my_scLc2.b); - test(my_scLc.c == my_scLc2.c); - test(my_scLc.d == my_scLc2.d); - if (!failed) - VERB0("Passed scLc"); - } - write_read(gras_datadesc_by_symbol(scfc), &my_scfc, &my_scfc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_scfc.a == my_scfc2.a); - test(my_scfc.b == my_scfc2.b); - test(my_scfc.c == my_scfc2.c); - test(my_scfc.d == my_scfc2.d); - if (!failed) - VERB0("Passed scfc"); - } - write_read(gras_datadesc_by_symbol(scdc), &my_scdc, &my_scdc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_scdc.a == my_scdc2.a); - test(my_scdc.b == my_scdc2.b); - test(my_scdc.c == my_scdc2.c); - test(my_scdc.d == my_scdc2.d); - if (!failed) - VERB0("Passed scdc"); - } - write_read(gras_datadesc_by_symbol(iccc), &my_iccc, &my_iccc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_iccc.a == my_iccc2.a); - test(my_iccc.b == my_iccc2.b); - test(my_iccc.c == my_iccc2.c); - test(my_iccc.d == my_iccc2.d); - if (!failed) - VERB0("Passed iccc"); - } - write_read(gras_datadesc_by_symbol(icsc), &my_icsc, &my_icsc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_icsc.a == my_icsc2.a); - test(my_icsc.b == my_icsc2.b); - test(my_icsc.c == my_icsc2.c); - test(my_icsc.d == my_icsc2.d); - if (!failed) - VERB0("Passed icsc"); - } - write_read(gras_datadesc_by_symbol(icic), &my_icic, &my_icic2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_icic.a == my_icic2.a); - test(my_icic.b == my_icic2.b); - test(my_icic.c == my_icic2.c); - test(my_icic.d == my_icic2.d); - if (!failed) - VERB0("Passed icic"); - } - write_read(gras_datadesc_by_symbol(iclc), &my_iclc, &my_iclc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_iclc.a == my_iclc2.a); - test(my_iclc.b == my_iclc2.b); - test(my_iclc.c == my_iclc2.c); - test(my_iclc.d == my_iclc2.d); - if (!failed) - VERB0("Passed iclc"); - } - write_read(gras_datadesc_by_symbol(icLc), &my_icLc, &my_icLc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_icLc.a == my_icLc2.a); - test(my_icLc.b == my_icLc2.b); - test(my_icLc.c == my_icLc2.c); - test(my_icLc.d == my_icLc2.d); - if (!failed) - VERB0("Passed icLc"); - } - write_read(gras_datadesc_by_symbol(icfc), &my_icfc, &my_icfc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_icfc.a == my_icfc2.a); - test(my_icfc.b == my_icfc2.b); - test(my_icfc.c == my_icfc2.c); - test(my_icfc.d == my_icfc2.d); - if (!failed) - VERB0("Passed icfc"); - } - write_read(gras_datadesc_by_symbol(icdc), &my_icdc, &my_icdc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_icdc.a == my_icdc2.a); - test(my_icdc.b == my_icdc2.b); - test(my_icdc.c == my_icdc2.c); - test(my_icdc.d == my_icdc2.d); - if (!failed) - VERB0("Passed icdc"); - } - write_read(gras_datadesc_by_symbol(lccc), &my_lccc, &my_lccc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_lccc.a == my_lccc2.a); - test(my_lccc.b == my_lccc2.b); - test(my_lccc.c == my_lccc2.c); - test(my_lccc.d == my_lccc2.d); - if (!failed) - VERB0("Passed lccc"); - } - write_read(gras_datadesc_by_symbol(lcsc), &my_lcsc, &my_lcsc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_lcsc.a == my_lcsc2.a); - test(my_lcsc.b == my_lcsc2.b); - test(my_lcsc.c == my_lcsc2.c); - test(my_lcsc.d == my_lcsc2.d); - if (!failed) - VERB0("Passed lcsc"); - } - write_read(gras_datadesc_by_symbol(lcic), &my_lcic, &my_lcic2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_lcic.a == my_lcic2.a); - test(my_lcic.b == my_lcic2.b); - test(my_lcic.c == my_lcic2.c); - test(my_lcic.d == my_lcic2.d); - if (!failed) - VERB0("Passed lcic"); - } - write_read(gras_datadesc_by_symbol(lclc), &my_lclc, &my_lclc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_lclc.a == my_lclc2.a); - test(my_lclc.b == my_lclc2.b); - test(my_lclc.c == my_lclc2.c); - test(my_lclc.d == my_lclc2.d); - if (!failed) - VERB0("Passed lclc"); - } - write_read(gras_datadesc_by_symbol(lcLc), &my_lcLc, &my_lcLc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_lcLc.a == my_lcLc2.a); - test(my_lcLc.b == my_lcLc2.b); - test(my_lcLc.c == my_lcLc2.c); - test(my_lcLc.d == my_lcLc2.d); - if (!failed) - VERB0("Passed lcLc"); - } - write_read(gras_datadesc_by_symbol(lcfc), &my_lcfc, &my_lcfc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_lcfc.a == my_lcfc2.a); - test(my_lcfc.b == my_lcfc2.b); - test(my_lcfc.c == my_lcfc2.c); - test(my_lcfc.d == my_lcfc2.d); - if (!failed) - VERB0("Passed lcfc"); - } - write_read(gras_datadesc_by_symbol(lcdc), &my_lcdc, &my_lcdc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_lcdc.a == my_lcdc2.a); - test(my_lcdc.b == my_lcdc2.b); - test(my_lcdc.c == my_lcdc2.c); - test(my_lcdc.d == my_lcdc2.d); - if (!failed) - VERB0("Passed lcdc"); - } - write_read(gras_datadesc_by_symbol(Lccc), &my_Lccc, &my_Lccc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_Lccc.a == my_Lccc2.a); - test(my_Lccc.b == my_Lccc2.b); - test(my_Lccc.c == my_Lccc2.c); - test(my_Lccc.d == my_Lccc2.d); - if (!failed) - VERB0("Passed Lccc"); - } - write_read(gras_datadesc_by_symbol(Lcsc), &my_Lcsc, &my_Lcsc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_Lcsc.a == my_Lcsc2.a); - test(my_Lcsc.b == my_Lcsc2.b); - test(my_Lcsc.c == my_Lcsc2.c); - test(my_Lcsc.d == my_Lcsc2.d); - if (!failed) - VERB0("Passed Lcsc"); - } - write_read(gras_datadesc_by_symbol(Lcic), &my_Lcic, &my_Lcic2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_Lcic.a == my_Lcic2.a); - test(my_Lcic.b == my_Lcic2.b); - test(my_Lcic.c == my_Lcic2.c); - test(my_Lcic.d == my_Lcic2.d); - if (!failed) - VERB0("Passed Lcic"); - } - write_read(gras_datadesc_by_symbol(Lclc), &my_Lclc, &my_Lclc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_Lclc.a == my_Lclc2.a); - test(my_Lclc.b == my_Lclc2.b); - test(my_Lclc.c == my_Lclc2.c); - test(my_Lclc.d == my_Lclc2.d); - if (!failed) - VERB0("Passed Lclc"); - } - write_read(gras_datadesc_by_symbol(LcLc), &my_LcLc, &my_LcLc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_LcLc.a == my_LcLc2.a); - test(my_LcLc.b == my_LcLc2.b); - test(my_LcLc.c == my_LcLc2.c); - test(my_LcLc.d == my_LcLc2.d); - if (!failed) - VERB0("Passed LcLc"); - } - write_read(gras_datadesc_by_symbol(Lcfc), &my_Lcfc, &my_Lcfc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_Lcfc.a == my_Lcfc2.a); - test(my_Lcfc.b == my_Lcfc2.b); - test(my_Lcfc.c == my_Lcfc2.c); - test(my_Lcfc.d == my_Lcfc2.d); - if (!failed) - VERB0("Passed Lcfc"); - } - write_read(gras_datadesc_by_symbol(Lcdc), &my_Lcdc, &my_Lcdc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_Lcdc.a == my_Lcdc2.a); - test(my_Lcdc.b == my_Lcdc2.b); - test(my_Lcdc.c == my_Lcdc2.c); - test(my_Lcdc.d == my_Lcdc2.d); - if (!failed) - VERB0("Passed Lcdc"); - } - write_read(gras_datadesc_by_symbol(fccc), &my_fccc, &my_fccc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_fccc.a == my_fccc2.a); - test(my_fccc.b == my_fccc2.b); - test(my_fccc.c == my_fccc2.c); - test(my_fccc.d == my_fccc2.d); - if (!failed) - VERB0("Passed fccc"); - } - write_read(gras_datadesc_by_symbol(fcsc), &my_fcsc, &my_fcsc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_fcsc.a == my_fcsc2.a); - test(my_fcsc.b == my_fcsc2.b); - test(my_fcsc.c == my_fcsc2.c); - test(my_fcsc.d == my_fcsc2.d); - if (!failed) - VERB0("Passed fcsc"); - } - write_read(gras_datadesc_by_symbol(fcic), &my_fcic, &my_fcic2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_fcic.a == my_fcic2.a); - test(my_fcic.b == my_fcic2.b); - test(my_fcic.c == my_fcic2.c); - test(my_fcic.d == my_fcic2.d); - if (!failed) - VERB0("Passed fcic"); - } - write_read(gras_datadesc_by_symbol(fclc), &my_fclc, &my_fclc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_fclc.a == my_fclc2.a); - test(my_fclc.b == my_fclc2.b); - test(my_fclc.c == my_fclc2.c); - test(my_fclc.d == my_fclc2.d); - if (!failed) - VERB0("Passed fclc"); - } - write_read(gras_datadesc_by_symbol(fcLc), &my_fcLc, &my_fcLc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_fcLc.a == my_fcLc2.a); - test(my_fcLc.b == my_fcLc2.b); - test(my_fcLc.c == my_fcLc2.c); - test(my_fcLc.d == my_fcLc2.d); - if (!failed) - VERB0("Passed fcLc"); - } - write_read(gras_datadesc_by_symbol(fcfc), &my_fcfc, &my_fcfc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_fcfc.a == my_fcfc2.a); - test(my_fcfc.b == my_fcfc2.b); - test(my_fcfc.c == my_fcfc2.c); - test(my_fcfc.d == my_fcfc2.d); - if (!failed) - VERB0("Passed fcfc"); - } - write_read(gras_datadesc_by_symbol(fcdc), &my_fcdc, &my_fcdc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_fcdc.a == my_fcdc2.a); - test(my_fcdc.b == my_fcdc2.b); - test(my_fcdc.c == my_fcdc2.c); - test(my_fcdc.d == my_fcdc2.d); - if (!failed) - VERB0("Passed fcdc"); - } - write_read(gras_datadesc_by_symbol(dccc), &my_dccc, &my_dccc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_dccc.a == my_dccc2.a); - test(my_dccc.b == my_dccc2.b); - test(my_dccc.c == my_dccc2.c); - test(my_dccc.d == my_dccc2.d); - if (!failed) - VERB0("Passed dccc"); - } - write_read(gras_datadesc_by_symbol(dcsc), &my_dcsc, &my_dcsc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_dcsc.a == my_dcsc2.a); - test(my_dcsc.b == my_dcsc2.b); - test(my_dcsc.c == my_dcsc2.c); - test(my_dcsc.d == my_dcsc2.d); - if (!failed) - VERB0("Passed dcsc"); - } - write_read(gras_datadesc_by_symbol(dcic), &my_dcic, &my_dcic2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_dcic.a == my_dcic2.a); - test(my_dcic.b == my_dcic2.b); - test(my_dcic.c == my_dcic2.c); - test(my_dcic.d == my_dcic2.d); - if (!failed) - VERB0("Passed dcic"); - } - write_read(gras_datadesc_by_symbol(dclc), &my_dclc, &my_dclc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_dclc.a == my_dclc2.a); - test(my_dclc.b == my_dclc2.b); - test(my_dclc.c == my_dclc2.c); - test(my_dclc.d == my_dclc2.d); - if (!failed) - VERB0("Passed dclc"); - } - write_read(gras_datadesc_by_symbol(dcLc), &my_dcLc, &my_dcLc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_dcLc.a == my_dcLc2.a); - test(my_dcLc.b == my_dcLc2.b); - test(my_dcLc.c == my_dcLc2.c); - test(my_dcLc.d == my_dcLc2.d); - if (!failed) - VERB0("Passed dcLc"); - } - write_read(gras_datadesc_by_symbol(dcfc), &my_dcfc, &my_dcfc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_dcfc.a == my_dcfc2.a); - test(my_dcfc.b == my_dcfc2.b); - test(my_dcfc.c == my_dcfc2.c); - test(my_dcfc.d == my_dcfc2.d); - if (!failed) - VERB0("Passed dcfc"); - } - write_read(gras_datadesc_by_symbol(dcdc), &my_dcdc, &my_dcdc2, sock, - direction); - if (direction == READ || direction == RW) { - int failed = 0; - test(my_dcdc.a == my_dcdc2.a); - test(my_dcdc.b == my_dcdc2.b); - test(my_dcdc.c == my_dcdc2.c); - test(my_dcdc.d == my_dcdc2.d); - if (!failed) - VERB0("Passed dcdc"); - } -} diff --git a/win32_testsuite/borland/builder6/realistic/gras/datadesc_usage/datadesc_usage.c b/win32_testsuite/borland/builder6/realistic/gras/datadesc_usage/datadesc_usage.c deleted file mode 100644 index b5027f620d..0000000000 --- a/win32_testsuite/borland/builder6/realistic/gras/datadesc_usage/datadesc_usage.c +++ /dev/null @@ -1,736 +0,0 @@ -/* datadesc: test of data description (using file transport). */ - -/* Copyright (c) 2007, 2010. The SimGrid Team. - * All rights reserved. */ - -/* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - - - -#pragma hdrstop - -#include -#include "gras.h" -#include "..\..\..\..\include\gras\datadesc.h" - -#include "gras/DataDesc/datadesc_interface.h" -XBT_LOG_NEW_DEFAULT_CATEGORY(test, "Logging specific to this test"); - -#define READ 0 -#define WRITE 1 -#define COPY 2 -#define RW 3 - -int r_arch; -const char *filename = "datadesc_usage.out"; - -void -write_read(gras_datadesc_type_t type, void *src, void *dst, - gras_socket_t sock, int direction); - -void -write_read(gras_datadesc_type_t type, void *src, void *dst, - gras_socket_t sock, int direction) -{ - - /* write */ - if (direction == RW) - sock = gras_socket_client_from_file(filename); - - if (direction == WRITE || direction == RW) - gras_datadesc_send(sock, type, src); - - if (direction == RW) - gras_socket_close(sock); - - /* read */ - if (direction == RW) - sock = gras_socket_server_from_file(filename); - - if (direction == READ || direction == RW) - gras_datadesc_recv(sock, type, r_arch, dst); - - if (direction == RW) - gras_socket_close(sock); - - if (direction == COPY) - gras_datadesc_copy(type, src, dst); -} - -void test_int(gras_socket_t sock, int direction); -void test_float(gras_socket_t sock, int direction); -void test_double(gras_socket_t sock, int direction); -void test_array(gras_socket_t sock, int direction); -void test_dynar_scal(gras_socket_t sock, int direction); -void test_intref(gras_socket_t sock, int direction); -void test_string(gras_socket_t sock, int direction); - -void test_homostruct(gras_socket_t sock, int direction); -void test_hetestruct(gras_socket_t sock, int direction); -void test_nestedstruct(gras_socket_t sock, int direction); -void test_chain_list(gras_socket_t sock, int direction); -void test_graph(gras_socket_t sock, int direction); -void test_dynar_ref(gras_socket_t sock, int direction); - -void test_pbio(gras_socket_t sock, int direction); -void test_clause(gras_socket_t sock, int direction); - -/* defined in datadesc_structures.c, which in perl generated */ -void test_structures(gras_socket_t sock, int direction); - -void test_int(gras_socket_t sock, int direction) -{ - int i = 5, j; - - INFO0("---- Test on integer ----"); - - write_read(gras_datadesc_by_name("int"), &i, &j, sock, direction); - - if (direction == READ || direction == RW || direction == COPY) - xbt_assert(i == j); -} - -void test_float(gras_socket_t sock, int direction) -{ - float i = 5.0, j; - - INFO0("---- Test on float ----"); - write_read(gras_datadesc_by_name("float"), &i, &j, sock, direction); - - if (direction == READ || direction == RW || direction == COPY) - xbt_assert2(i == j, "%f != %f", i, j); -} - -void test_double(gras_socket_t sock, int direction) -{ - double i = -3252355.1234, j; - - INFO0("---- Test on double ----"); - write_read(gras_datadesc_by_name("double"), &i, &j, sock, direction); - - if (direction == READ || direction == RW || direction == COPY) - xbt_assert2(i == j, "%f != %f", i, j); -} - -#define SIZE 5 -typedef int array[SIZE]; - -void test_array(gras_socket_t sock, int direction) -{ - gras_datadesc_type_t my_type; - - array i = { 35212, -6226, 74337, 11414, 7733 }; - array j; - int cpt; - - INFO0("---- Test on fixed array ----"); - - my_type = - gras_datadesc_array_fixed("fixed int array", - gras_datadesc_by_name("int"), SIZE); - - write_read(my_type, &i, &j, sock, direction); - - if (direction == READ || direction == RW || direction == COPY) { - for (cpt = 0; cpt < SIZE; cpt++) { - DEBUG1("Test spot %d", cpt); - xbt_assert4(i[cpt] == j[cpt], "i[%d]=%d != j[%d]=%d", cpt, i[cpt], - cpt, j[cpt]); - } - } -} - -/*** Dynar of scalar ***/ - -void test_dynar_scal(gras_socket_t sock, int direction) -{ - gras_datadesc_type_t my_type; - xbt_dynar_t i, j; - int cpt; - - INFO0("---- Test on dynar containing integers ----"); - my_type = gras_datadesc_dynar(gras_datadesc_by_name("int"), NULL); - i = xbt_dynar_new(sizeof(int), NULL); - - for (cpt = 0; cpt < 64; cpt++) { - xbt_dynar_push_as(i, int, cpt); - DEBUG2("Push %d, length=%lu", cpt, xbt_dynar_length(i)); - } - - /* xbt_dynar_dump(i); */ - write_read(my_type, &i, &j, sock, direction); - - /* xbt_dynar_dump(j); */ - if (direction == READ || direction == RW || direction == COPY) { - for (cpt = 0; cpt < 64; cpt++) { - int ret = xbt_dynar_get_as(j, cpt, int); - - if (cpt != ret) { - CRITICAL3 - ("The retrieved value for cpt=%d is not the same than the injected one (%d!=%d)", - cpt, ret, cpt); - xbt_abort(); - } - } - - xbt_dynar_free(&j); - } - - xbt_dynar_free(&i); -} - -void test_intref(gras_socket_t sock, int direction) -{ - gras_datadesc_type_t my_type; - int *i, *j; - - i = xbt_new(int, 1); - *i = 12345; - - INFO1("---- Test on a reference to an integer (%p) ----", i); - - my_type = gras_datadesc_ref("int*", gras_datadesc_by_name("int")); - - write_read(my_type, &i, &j, sock, direction); - if (direction == READ || direction == RW || direction == COPY) { - xbt_assert2(*i == *j, "*i != *j (%d != %d)", *i, *j); - free(j); - } - - free(i); -} - -/*** - *** string (dynamic array) - ***/ -void test_string(gras_socket_t sock, int direction) -{ - char *i = xbt_strdup("Some data"), *j = NULL; - int cpt; - - INFO0("---- Test on string (ref to dynamic array) ----"); - write_read(gras_datadesc_by_name("string"), &i, &j, sock, direction); - - if (direction == READ || direction == RW || direction == COPY) { - for (cpt = 0; cpt < strlen(i); cpt++) { - xbt_assert4(i[cpt] == j[cpt], "i[%d]=%c != j[%d]=%c", cpt, i[cpt], - cpt, j[cpt]); - } - - free(j); - } - - free(i); -} - - -/*** - *** homogeneous struct - ***/ -typedef struct { - int a, b, c, d; -} homostruct; - -void test_homostruct(gras_socket_t sock, int direction) -{ - gras_datadesc_type_t my_type; - homostruct *i, *j; - - INFO0("---- Test on homogeneous structure ----"); - /* create descriptor */ - my_type = gras_datadesc_struct("homostruct"); - gras_datadesc_struct_append(my_type, "a", - gras_datadesc_by_name("signed int")); - gras_datadesc_struct_append(my_type, "b", gras_datadesc_by_name("int")); - gras_datadesc_struct_append(my_type, "c", gras_datadesc_by_name("int")); - gras_datadesc_struct_append(my_type, "d", gras_datadesc_by_name("int")); - gras_datadesc_struct_close(my_type); - my_type = gras_datadesc_ref("homostruct*", - gras_datadesc_by_name("homostruct")); - - /* init a value, exchange it and check its validity */ - i = xbt_new(homostruct, 1); - i->a = 2235; - i->b = 433425; - i->c = -23423; - i->d = -235235; - - write_read(my_type, &i, &j, sock, direction); - if (direction == READ || direction == RW || direction == COPY) { - xbt_assert2(i->a == j->a, "i->a=%d != j->a=%d", i->a, j->a); - xbt_assert(i->b == j->b); - xbt_assert(i->c == j->c); - xbt_assert(i->d == j->d); - free(j); - } - free(i); -} - -/*** - *** heterogeneous struct - ***/ -typedef struct { - unsigned char c1; - unsigned long int l1; - unsigned char c2; - unsigned long int l2; -} hetestruct; -void test_hetestruct(gras_socket_t sock, int direction) -{ - gras_datadesc_type_t my_type; - hetestruct *i, *j; - - INFO0("---- Test on heterogeneous structure ----"); - /* create descriptor */ - my_type = gras_datadesc_struct("hetestruct"); - gras_datadesc_struct_append(my_type, "c1", - gras_datadesc_by_name("unsigned char")); - gras_datadesc_struct_append(my_type, "l1", - gras_datadesc_by_name("unsigned long int")); - gras_datadesc_struct_append(my_type, "c2", - gras_datadesc_by_name("unsigned char")); - gras_datadesc_struct_append(my_type, "l2", - gras_datadesc_by_name("unsigned long int")); - gras_datadesc_struct_close(my_type); - my_type = - gras_datadesc_ref("hetestruct*", - gras_datadesc_by_name("hetestruct")); - - - /* init a value, exchange it and check its validity */ - i = xbt_new(hetestruct, 1); - i->c1 = 's'; - i->l1 = 123455; - i->c2 = 'e'; - i->l2 = 774531; - - write_read(my_type, &i, &j, sock, direction); - if (direction == READ || direction == RW || direction == COPY) { - xbt_assert(i->c1 == j->c1); - xbt_assert(i->c2 == j->c2); - xbt_assert2(i->l1 == j->l1, "i->l1(=%ld) != j->l1(=%ld)", i->l1, - j->l1); - xbt_assert(i->l2 == j->l2); - free(j); - } - free(i); -} - -/*** - *** nested struct - ***/ -typedef struct { - hetestruct hete; - homostruct homo; -} nestedstruct; -void test_nestedstruct(gras_socket_t sock, int direction) -{ - gras_datadesc_type_t my_type; - nestedstruct *i, *j; - - INFO0("---- Test on nested structures ----"); - /* create descriptor */ - my_type = gras_datadesc_struct("nestedstruct"); - - gras_datadesc_struct_append(my_type, "hete", - gras_datadesc_by_name("hetestruct")); - gras_datadesc_struct_append(my_type, "homo", - gras_datadesc_by_name("homostruct")); - gras_datadesc_struct_close(my_type); - my_type = - gras_datadesc_ref("nestedstruct*", - gras_datadesc_by_name("nestedstruct")); - - /* init a value, exchange it and check its validity */ - i = xbt_new(nestedstruct, 1); - i->homo.a = 235231; - i->homo.b = -124151; - i->homo.c = 211551; - i->homo.d = -664222; - i->hete.c1 = 's'; - i->hete.l1 = 123455; - i->hete.c2 = 'e'; - i->hete.l2 = 774531; - - write_read(my_type, &i, &j, sock, direction); - if (direction == READ || direction == RW || direction == COPY) { - xbt_assert(i->homo.a == j->homo.a); - xbt_assert(i->homo.b == j->homo.b); - xbt_assert(i->homo.c == j->homo.c); - xbt_assert(i->homo.d == j->homo.d); - xbt_assert(i->hete.c1 == j->hete.c1); - xbt_assert(i->hete.c2 == j->hete.c2); - xbt_assert(i->hete.l1 == j->hete.l1); - xbt_assert(i->hete.l2 == j->hete.l2); - free(j); - } - free(i); -} - -/*** - *** chained list - ***/ -typedef struct s_chained_list chained_list_t; -struct s_chained_list { - int v; - chained_list_t *l; -}; -void declare_chained_list_type(void); -chained_list_t *cons(int v, chained_list_t * l); -void list_free(chained_list_t * l); -int list_eq(chained_list_t * i, chained_list_t * j); - -void declare_chained_list_type(void) -{ - gras_datadesc_type_t my_type, ref_my_type; - - my_type = gras_datadesc_struct("chained_list_t"); - ref_my_type = gras_datadesc_ref("chained_list_t*", my_type); - - gras_datadesc_struct_append(my_type, "v", gras_datadesc_by_name("int")); - gras_datadesc_struct_append(my_type, "l", ref_my_type); - gras_datadesc_struct_close(my_type); -} - -chained_list_t *cons(int v, chained_list_t * l) -{ - chained_list_t *nl = xbt_new(chained_list_t, 1); - - nl->v = v; - nl->l = l; - - return nl; -} - -void list_free(chained_list_t * l) -{ - if (l) { - list_free(l->l); - free(l); - } -} - -int list_eq(chained_list_t * i, chained_list_t * j) -{ - if (!i || !j) - return i == j; - if (i->v != j->v) - return 0; - return list_eq(i->l, j->l); -} - -void test_chain_list(gras_socket_t sock, int direction) -{ - chained_list_t *i, *j; - - INFO0("---- Test on chained list ----"); - - /* init a value, exchange it and check its validity */ - i = cons(12355, cons(246264, cons(23263, NULL))); - j = NULL; - - write_read(gras_datadesc_by_name("chained_list_t*"), - &i, &j, sock, direction); - if (direction == READ || direction == RW || direction == COPY) { - xbt_assert(list_eq(i, j)); - list_free(j); - } - - list_free(i); -} - -/*** - *** graph - ***/ -void test_graph(gras_socket_t sock, int direction) -{ - chained_list_t *i, *j; - - INFO0("---- Test on graph (cyclique chained list of 3 items) ----"); - /* init a value, exchange it and check its validity */ - i = cons(1151515, cons(-232362, cons(222552, NULL))); - i->l->l->l = i; - j = NULL; - - gras_datadesc_cycle_set(gras_datadesc_by_name("chained_list_t*")); - write_read(gras_datadesc_by_name("chained_list_t*"), - &i, &j, sock, direction); - if (direction == READ || direction == RW || direction == COPY) { - - DEBUG1("i=%p", i); - DEBUG1("i->l=%p", i->l); - DEBUG1("i->l->l=%p", i->l->l); - DEBUG1("i->l->l->l=%p", i->l->l->l); - DEBUG1("j=%p", j); - DEBUG1("j->l=%p", j->l); - DEBUG1("j->l->l=%p", j->l->l); - DEBUG1("j->l->l->l=%p", j->l->l->l); - xbt_assert4(j->l->l->l == j, - "Received list is not cyclic. j=%p != j->l->l->l=%p\n" - "j=%p; &j=%p", j, j->l->l->l, j, &j); - j->l->l->l = NULL; - i->l->l->l = NULL; - xbt_assert(list_eq(i, j)); - - list_free(j); - } - i->l->l->l = NULL; /* do this even in WRITE mode */ - list_free(i); -} - - -/*** Dynar of references ***/ -static void free_string(void *d) -{ /* used to free the data in dynar */ - free(*(void **) d); -} - -void test_dynar_ref(gras_socket_t sock, int direction) -{ - gras_datadesc_type_t my_type; - xbt_dynar_t i, j; - char buf[1024]; - char *s1, *s2; - int cpt; - - INFO0("---- Test on dynar containing integers ----"); - my_type = - gras_datadesc_dynar(gras_datadesc_by_name("string"), &free_string); - - i = xbt_dynar_new(sizeof(char *), &free_string); - for (cpt = 0; cpt < 64; cpt++) { - sprintf(buf, "%d", cpt); - s1 = strdup(buf); - xbt_dynar_push(i, &s1); - } - - write_read(my_type, &i, &j, sock, direction); - if (direction == READ || direction == RW || direction == COPY) { - for (cpt = 0; cpt < 64; cpt++) { - sprintf(buf, "%d", cpt); - xbt_dynar_shift(j, &s2); - xbt_assert2(!strcmp(buf, s2), - "The retrieved value is not the same than the injected one (%s!=%s)", - buf, s2); - free(s2); - } - xbt_dynar_free(&j); - } - xbt_dynar_free(&i); -} - - -/**** PBIO *****/ -GRAS_DEFINE_TYPE(s_pbio, struct s_pbio { /* structure presented in the IEEE article */ - int Cnstatv; - double Cstatev[12]; - int Cnprops; - double Cprops[110]; - int Cndi[4]; - int Cnshr; - int Cnpt; - double Cdtime; - double Ctime[2]; - int Cntens; - double Cdfgrd0[373][3]; - double Cdfgrd1[3][3]; - double Cstress[106]; double Cddsdde[106][106];};) -typedef struct s_pbio pbio_t; - -void test_pbio(gras_socket_t sock, int direction) -{ - int cpt; - int cpt2; - gras_datadesc_type_t pbio_type; - pbio_t i, j; - - INFO0 - ("---- Test on the PBIO IEEE struct (also tests GRAS DEFINE TYPE) ----"); - pbio_type = gras_datadesc_by_symbol(s_pbio); - - /* Fill in that damn struct */ - i.Cnstatv = 325115; - for (cpt = 0; cpt < 12; cpt++) - i.Cstatev[cpt] = ((double) cpt) * -2361.11; - i.Cnprops = -37373; - for (cpt = 0; cpt < 110; cpt++) - i.Cprops[cpt] = cpt * 100.0; - for (cpt = 0; cpt < 4; cpt++) - i.Cndi[cpt] = cpt * 23262; - i.Cnshr = -4634; - i.Cnpt = 114142; - i.Cdtime = -11515.662; - i.Ctime[0] = 332523.226; - i.Ctime[1] = -26216.113; - i.Cntens = 235211411; - - for (cpt = 0; cpt < 3; cpt++) { - for (cpt2 = 0; cpt2 < 373; cpt2++) - i.Cdfgrd0[cpt2][cpt] = ((double) cpt) * ((double) cpt2); - for (cpt2 = 0; cpt2 < 3; cpt2++) - i.Cdfgrd1[cpt][cpt2] = -((double) cpt) * ((double) cpt2); - } - for (cpt = 0; cpt < 106; cpt++) { - i.Cstress[cpt] = (double) cpt *22.113; - for (cpt2 = 0; cpt2 < 106; cpt2++) - i.Cddsdde[cpt][cpt2] = ((double) cpt) * ((double) cpt2); - } - write_read(gras_datadesc_by_symbol(s_pbio), &i, &j, sock, direction); - if (direction == READ || direction == RW || direction == COPY) { - /* Check that the data match */ - xbt_assert(i.Cnstatv == j.Cnstatv); - for (cpt = 0; cpt < 12; cpt++) - xbt_assert4(i.Cstatev[cpt] == j.Cstatev[cpt], - "i.Cstatev[%d] (=%f) != j.Cstatev[%d] (=%f)", - cpt, i.Cstatev[cpt], cpt, j.Cstatev[cpt]); - xbt_assert(i.Cnprops == j.Cnprops); - for (cpt = 0; cpt < 110; cpt++) - xbt_assert(i.Cprops[cpt] == j.Cprops[cpt]); - for (cpt = 0; cpt < 4; cpt++) - xbt_assert(i.Cndi[cpt] == j.Cndi[cpt]); - xbt_assert(i.Cnshr == j.Cnshr); - xbt_assert(i.Cnpt == j.Cnpt); - xbt_assert(i.Cdtime == j.Cdtime); - xbt_assert(i.Ctime[0] == j.Ctime[0]); - xbt_assert(i.Ctime[1] == j.Ctime[1]); - xbt_assert(i.Cntens == j.Cntens); - for (cpt = 0; cpt < 3; cpt++) { - for (cpt2 = 0; cpt2 < 373; cpt2++) - xbt_assert(i.Cdfgrd0[cpt2][cpt] == j.Cdfgrd0[cpt2][cpt]); - for (cpt2 = 0; cpt2 < 3; cpt2++) - xbt_assert(i.Cdfgrd1[cpt][cpt2] == j.Cdfgrd1[cpt][cpt2]); - } - for (cpt = 0; cpt < 106; cpt++) { - xbt_assert(i.Cstress[cpt] == j.Cstress[cpt]); - for (cpt2 = 0; cpt2 < 106; cpt2++) - xbt_assert4(i.Cddsdde[cpt][cpt2] == j.Cddsdde[cpt][cpt2], - "%f=i.Cddsdde[%d][%d] != j.Cddsdde[cpt][cpt2]=%f", - i.Cddsdde[cpt][cpt2], cpt, cpt2, j.Cddsdde[cpt][cpt2]); - } - } -} - -GRAS_DEFINE_TYPE(s_clause, struct s_clause { - int num_lits; int *literals GRAS_ANNOTE(size, num_lits); /* Tells GRAS where to find the size */ - }; - - ) -typedef struct s_clause Clause; - -void test_clause(gras_socket_t sock, int direction) -{ - gras_datadesc_type_t ddt; - Clause *i, *j; - int cpt; - - INFO0 - ("---- Test on struct containing dynamic array and its size (cbps test) ----"); - - /* create and fill the struct */ - i = xbt_new(Clause, 1); - - i->num_lits = 5432; - i->literals = xbt_new(int, i->num_lits); - for (cpt = 0; cpt < i->num_lits; cpt++) - i->literals[cpt] = cpt * cpt - ((cpt * cpt) / 2); - DEBUG3("created data=%p (within %p @%p)", &(i->num_lits), i, &i); - DEBUG1("created count=%d", i->num_lits); - - /* create the damn type descriptor */ - ddt = gras_datadesc_by_symbol(s_clause); -/* gras_datadesc_type_dump(ddt); */ - - ddt = gras_datadesc_ref("Clause*", ddt); - - write_read(ddt, &i, &j, sock, direction); - if (direction == READ || direction == RW || direction == COPY) { - xbt_assert(i->num_lits == j->num_lits); - for (cpt = 0; cpt < i->num_lits; cpt++) - xbt_assert(i->literals[cpt] == j->literals[cpt]); - - free(j->literals); - free(j); - } - free(i->literals); - free(i); -} - -#pragma argsused - -int main(int argc, char *argv[]) -{ - gras_socket_t sock = NULL; - int direction = WRITE; /* RW; */ - int cpt; - char r_arch_char = gras_arch_selfid(); - - gras_init(&argc, argv); - - for (cpt = 1; cpt < argc; cpt++) { - if (!strcmp(argv[cpt], "--read")) { - direction = READ; - } else if (!strcmp(argv[cpt], "--write")) { - direction = WRITE; - } else if (!strcmp(argv[cpt], "--copy")) { - direction = COPY; - } else { - filename = argv[cpt]; - } - } - - if (direction == WRITE) { - sock = gras_socket_client_from_file(filename); - gras_datadesc_send(sock, gras_datadesc_by_name("char"), &r_arch_char); - } - if (direction == READ) { - sock = gras_socket_server_from_file(filename); - gras_datadesc_recv(sock, gras_datadesc_by_name("char"), - gras_arch_selfid(), &r_arch_char); - INFO3("This datafile was generated on %s (%d), I'm %s.", - gras_datadesc_arch_name(r_arch_char), (int) r_arch_char, - gras_datadesc_arch_name(gras_arch_selfid())); - } - r_arch = (int) r_arch_char; - - test_int(sock, direction); - - test_float(sock, direction); - - test_double(sock, direction); - - test_array(sock, direction); - - test_intref(sock, direction); - - test_string(sock, direction); - - test_dynar_scal(sock, direction); - - test_structures(sock, direction); - - test_homostruct(sock, direction); - - test_hetestruct(sock, direction); - - test_nestedstruct(sock, direction); - - declare_chained_list_type(); - - test_chain_list(sock, direction); - - test_graph(sock, direction); - - test_dynar_ref(sock, direction); - - test_pbio(sock, direction); - - test_clause(sock, direction); - - if (direction != RW && direction != COPY) - gras_socket_close(sock); - - gras_exit(); - - return 0; -} diff --git a/win32_testsuite/borland/builder6/realistic/obj/empty.txt b/win32_testsuite/borland/builder6/realistic/obj/empty.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/win32_testsuite/borland/builder6/simulation/obj/empty.txt b/win32_testsuite/borland/builder6/simulation/obj/empty.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/win32_testsuite/borland/builder6/simulation/surf/maxmin_bench/platform.xml b/win32_testsuite/borland/builder6/simulation/surf/maxmin_bench/platform.xml deleted file mode 100644 index d8420970ca..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/maxmin_bench/platform.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/win32_testsuite/borland/builder6/simulation/surf/maxmin_bench/trace_A.txt b/win32_testsuite/borland/builder6/simulation/surf/maxmin_bench/trace_A.txt deleted file mode 100644 index 73f8eb8767..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/maxmin_bench/trace_A.txt +++ /dev/null @@ -1,4 +0,0 @@ -PERIODICITY 1.0 -0.0 1.0 -11.0 0.5 -20.0 0.9 diff --git a/win32_testsuite/borland/builder6/simulation/surf/maxmin_bench/trace_A_failure.txt b/win32_testsuite/borland/builder6/simulation/surf/maxmin_bench/trace_A_failure.txt deleted file mode 100644 index 0610bcf50d..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/maxmin_bench/trace_A_failure.txt +++ /dev/null @@ -1,3 +0,0 @@ -PERIODICITY 10.0 -1.0 -1.0 -2.0 1.0 diff --git a/win32_testsuite/borland/builder6/simulation/surf/maxmin_bench/trace_B.txt b/win32_testsuite/borland/builder6/simulation/surf/maxmin_bench/trace_B.txt deleted file mode 100644 index 8dc74704d1..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/maxmin_bench/trace_B.txt +++ /dev/null @@ -1,4 +0,0 @@ -PERIODICITY 7.00 -0.0 1.0 -11.0 1.0 -30.0 1.0 diff --git a/win32_testsuite/borland/builder6/simulation/surf/maxmin_usage/platform.xml b/win32_testsuite/borland/builder6/simulation/surf/maxmin_usage/platform.xml deleted file mode 100644 index d8420970ca..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/maxmin_usage/platform.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/win32_testsuite/borland/builder6/simulation/surf/maxmin_usage/trace_A.txt b/win32_testsuite/borland/builder6/simulation/surf/maxmin_usage/trace_A.txt deleted file mode 100644 index 73f8eb8767..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/maxmin_usage/trace_A.txt +++ /dev/null @@ -1,4 +0,0 @@ -PERIODICITY 1.0 -0.0 1.0 -11.0 0.5 -20.0 0.9 diff --git a/win32_testsuite/borland/builder6/simulation/surf/maxmin_usage/trace_A_failure.txt b/win32_testsuite/borland/builder6/simulation/surf/maxmin_usage/trace_A_failure.txt deleted file mode 100644 index 0610bcf50d..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/maxmin_usage/trace_A_failure.txt +++ /dev/null @@ -1,3 +0,0 @@ -PERIODICITY 10.0 -1.0 -1.0 -2.0 1.0 diff --git a/win32_testsuite/borland/builder6/simulation/surf/maxmin_usage/trace_B.txt b/win32_testsuite/borland/builder6/simulation/surf/maxmin_usage/trace_B.txt deleted file mode 100644 index 8dc74704d1..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/maxmin_usage/trace_B.txt +++ /dev/null @@ -1,4 +0,0 @@ -PERIODICITY 7.00 -0.0 1.0 -11.0 1.0 -30.0 1.0 diff --git a/win32_testsuite/borland/builder6/simulation/surf/surf_usage/platform.xml b/win32_testsuite/borland/builder6/simulation/surf/surf_usage/platform.xml deleted file mode 100644 index d8420970ca..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/surf_usage/platform.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/win32_testsuite/borland/builder6/simulation/surf/surf_usage/trace_A.txt b/win32_testsuite/borland/builder6/simulation/surf/surf_usage/trace_A.txt deleted file mode 100644 index 73f8eb8767..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/surf_usage/trace_A.txt +++ /dev/null @@ -1,4 +0,0 @@ -PERIODICITY 1.0 -0.0 1.0 -11.0 0.5 -20.0 0.9 diff --git a/win32_testsuite/borland/builder6/simulation/surf/surf_usage/trace_A_failure.txt b/win32_testsuite/borland/builder6/simulation/surf/surf_usage/trace_A_failure.txt deleted file mode 100644 index 0610bcf50d..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/surf_usage/trace_A_failure.txt +++ /dev/null @@ -1,3 +0,0 @@ -PERIODICITY 10.0 -1.0 -1.0 -2.0 1.0 diff --git a/win32_testsuite/borland/builder6/simulation/surf/surf_usage/trace_B.txt b/win32_testsuite/borland/builder6/simulation/surf/surf_usage/trace_B.txt deleted file mode 100644 index 8dc74704d1..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/surf_usage/trace_B.txt +++ /dev/null @@ -1,4 +0,0 @@ -PERIODICITY 7.00 -0.0 1.0 -11.0 1.0 -30.0 1.0 diff --git a/win32_testsuite/borland/builder6/simulation/surf/surf_usage2/platform.xml b/win32_testsuite/borland/builder6/simulation/surf/surf_usage2/platform.xml deleted file mode 100644 index d8420970ca..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/surf_usage2/platform.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/win32_testsuite/borland/builder6/simulation/surf/surf_usage2/trace_A.txt b/win32_testsuite/borland/builder6/simulation/surf/surf_usage2/trace_A.txt deleted file mode 100644 index 73f8eb8767..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/surf_usage2/trace_A.txt +++ /dev/null @@ -1,4 +0,0 @@ -PERIODICITY 1.0 -0.0 1.0 -11.0 0.5 -20.0 0.9 diff --git a/win32_testsuite/borland/builder6/simulation/surf/surf_usage2/trace_A_failure.txt b/win32_testsuite/borland/builder6/simulation/surf/surf_usage2/trace_A_failure.txt deleted file mode 100644 index 0610bcf50d..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/surf_usage2/trace_A_failure.txt +++ /dev/null @@ -1,3 +0,0 @@ -PERIODICITY 10.0 -1.0 -1.0 -2.0 1.0 diff --git a/win32_testsuite/borland/builder6/simulation/surf/surf_usage2/trace_B.txt b/win32_testsuite/borland/builder6/simulation/surf/surf_usage2/trace_B.txt deleted file mode 100644 index 8dc74704d1..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/surf_usage2/trace_B.txt +++ /dev/null @@ -1,4 +0,0 @@ -PERIODICITY 7.00 -0.0 1.0 -11.0 1.0 -30.0 1.0 diff --git a/win32_testsuite/borland/builder6/simulation/surf/trace_usage/platform.xml b/win32_testsuite/borland/builder6/simulation/surf/trace_usage/platform.xml deleted file mode 100644 index d8420970ca..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/trace_usage/platform.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_A.txt b/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_A.txt deleted file mode 100644 index 73f8eb8767..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_A.txt +++ /dev/null @@ -1,4 +0,0 @@ -PERIODICITY 1.0 -0.0 1.0 -11.0 0.5 -20.0 0.9 diff --git a/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_A_failure.txt b/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_A_failure.txt deleted file mode 100644 index 0610bcf50d..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_A_failure.txt +++ /dev/null @@ -1,3 +0,0 @@ -PERIODICITY 10.0 -1.0 -1.0 -2.0 1.0 diff --git a/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_B.txt b/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_B.txt deleted file mode 100644 index 8dc74704d1..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_B.txt +++ /dev/null @@ -1,4 +0,0 @@ -PERIODICITY 7.00 -0.0 1.0 -11.0 1.0 -30.0 1.0 diff --git a/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.bpf b/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.bpf deleted file mode 100644 index 12ae5a47b7..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.bpf +++ /dev/null @@ -1,4 +0,0 @@ -Ce fichier est uniquement utilisé par le gestionnaire de projets et doit être traité comme le fichier projet - - -main \ No newline at end of file diff --git a/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.bpr b/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.bpr deleted file mode 100644 index fe5c8ab3c0..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.bpr +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Version Info] -IncludeVerInfo=0 -AutoIncBuild=0 -MajorVer=1 -MinorVer=0 -Release=0 -Build=0 -Debug=0 -PreRelease=0 -Special=0 -Private=0 -DLL=0 -Locale=1036 -CodePage=1252 - -[Version Info Keys] -CompanyName= -FileDescription= -FileVersion=1.0.0.0 -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion=1.0.0.0 -Comments= - -[Excluded Packages] -c:\program files\borland\cbuilder6\Bin\dclclxdb60.bpl=Composants BD CLX Borland -C:\Program Files\Borland\CBuilder6\Bin\dclclxstd60.bpl=Composants Standard CLX Borland - -[HistoryLists\hlIncludePath] -Count=7 -Item0=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\include;$(BCB)\include\vcl;..\..\..\..\..\..\include;..\..\..\..\..\..\src;..\..\..\..\..\..\src\include -Item1=$(BCB)\include;$(BCB)\include\vcl;..\..\..\..\..\..\include;..\..\..\..\..\..\src;..\..\..\..\..\..\src\include -Item2=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\trace_usage;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include;C:..\..\..\..\..\..\src;C:..\..\..\..\..\..\src\include -Item3=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\trace_usage;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include;C:..\..\..\..\..\..\src;C:..\..\..\..\..\..\src\include -Item4=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\trace_usage;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include;C:..\..\..\..\..\..\src -Item5=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\trace_usage;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include -Item6=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\trace_usage;$(BCB)\include;$(BCB)\include\vcl - -[HistoryLists\hlLibraryPath] -Count=4 -Item0=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\lib\obj;$(BCB)\lib -Item1=$(BCB)\lib\obj;$(BCB)\lib -Item2=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\trace_usage;$(BCB)\lib\obj;$(BCB)\lib -Item3=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\trace_usage;$(BCB)\lib\obj;$(BCB)\lib - -[HistoryLists\hlDebugSourcePath] -Count=1 -Item0=$(BCB)\source\vcl - -[HistoryLists\hlConditionals] -Count=1 -Item0=_DEBUG - -[HistoryLists\hlIntOutputDir] -Count=1 -Item0=..\..\obj - -[HistoryLists\hlFinalOutputDir] -Count=2 -Item0=..\..\bin\ -Item1=..\..\bin - -[HistoryLists\hIBPIOutputDir] -Count=1 -Item0=..\..\lib - -[Debugging] -DebugSourceDirs=$(BCB)\source\vcl - -[Parameters] -RunParams=--surf-path=C:\dev\cvs\simgrid\win32_testsuite\borland\builder6\simulation\surf\trace_usage -Launcher= -UseLauncher=0 -DebugCWD= -HostApplication= -RemoteHost= -RemotePath= -RemoteLauncher= -RemoteCWD= -RemoteDebug=0 - -[Compiler] -ShowInfoMsgs=0 -LinkDebugVcl=0 -LinkCGLIB=0 - -[CORBA] -AddServerUnit=1 -AddClientUnit=1 -PrecompiledHeaders=1 - -[Language] -ActiveLang= -ProjectLang= -RootDir= - - \ No newline at end of file diff --git a/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.c b/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.c deleted file mode 100644 index ec09345924..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.c +++ /dev/null @@ -1,59 +0,0 @@ -//--------------------------------------------------------------------------- - -#pragma hdrstop - -//--------------------------------------------------------------------------- - -#include -#include -#include -#include "surf/trace_mgr.h" -#include "surf/surf.h" - -#include "xbt/log.h" -XBT_LOG_NEW_DEFAULT_CATEGORY(surf_test, - "Messages specific for surf example"); - -void test(void); -void test(void) -{ - tmgr_history_t history = tmgr_history_new(); - tmgr_trace_t trace_A = tmgr_trace_new("trace_A.txt"); - tmgr_trace_t trace_B = tmgr_trace_new("trace_B.txt"); - double next_event_date = -1.0; - double value = -1.0; - char *resource = NULL; - char *host_A = strdup("Host A"); - char *host_B = strdup("Host B"); - - tmgr_history_add_trace(history, trace_A, 1.0, 2, host_A); - tmgr_history_add_trace(history, trace_B, 0.0, 0, host_B); - - while ((next_event_date = tmgr_history_next_date(history)) != -1.0) { - DEBUG1("%g" " : \n", next_event_date); - while (tmgr_history_get_next_event_leq - (history, next_event_date, &value, (void **) &resource)) { - DEBUG2("\t %s : " "%g" "\n", resource, value); - } - - if (next_event_date > 1000) - break; - } - - tmgr_history_free(history); - free(host_B); - free(host_A); -} - - -#pragma argsused -int main(int argc, char *argv[]) -{ - surf_init(&argc, argv); - test(); - surf_exit(); - - return 0; -} - -//--------------------------------------------------------------------------- diff --git a/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.mak b/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.mak deleted file mode 100644 index e72548edf2..0000000000 --- a/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.mak +++ /dev/null @@ -1,229 +0,0 @@ -# --------------------------------------------------------------------------- -!if !$d(BCB) -BCB = $(MAKEDIR)\.. -!endif - -# --------------------------------------------------------------------------- -# IDE SECTION -# --------------------------------------------------------------------------- -# The following section of the project makefile is managed by the BCB IDE. -# It is recommended to use the IDE to change any of the values in this -# section. -# --------------------------------------------------------------------------- - -VERSION = BCB.06.00 -# --------------------------------------------------------------------------- -PROJECT = ..\..\bin\trace_usage.exe -OBJFILES = ..\..\obj\trace_usage.obj ..\..\obj\graphxml_parse.obj ..\..\obj\heap.obj \ - ..\..\obj\log.obj ..\..\obj\log_default_appender.obj \ - ..\..\obj\mallocator.obj ..\..\obj\set.obj ..\..\obj\snprintf.obj \ - ..\..\obj\swag.obj ..\..\obj\sysdep.obj ..\..\obj\xbt_main.obj \ - ..\..\obj\xbt_matrix.obj ..\..\obj\xbt_peer.obj ..\..\obj\asserts.obj \ - ..\..\obj\config.obj ..\..\obj\cunit.obj ..\..\obj\dict.obj \ - ..\..\obj\dict_cursor.obj ..\..\obj\dict_elm.obj ..\..\obj\dict_multi.obj \ - ..\..\obj\dynar.obj ..\..\obj\ex.obj ..\..\obj\fifo.obj \ - ..\..\obj\graph.obj ..\..\obj\gras.obj ..\..\obj\transport.obj \ - ..\..\obj\datadesc.obj ..\..\obj\ddt_convert.obj ..\..\obj\ddt_create.obj \ - ..\..\obj\ddt_exchange.obj ..\..\obj\ddt_parse.obj \ - ..\..\obj\ddt_parse.yy.obj ..\..\obj\cbps.obj ..\..\obj\timer.obj \ - ..\..\obj\msg.obj ..\..\obj\rpc.obj ..\..\obj\process.obj \ - ..\..\obj\gras_module.obj ..\..\obj\workstation_KCCFLN05.obj \ - ..\..\obj\cpu.obj ..\..\obj\maxmin.obj ..\..\obj\network.obj \ - ..\..\obj\network_dassf.obj ..\..\obj\surf.obj ..\..\obj\surf_timer.obj \ - ..\..\obj\surfxml_parse.obj ..\..\obj\trace_mgr.obj \ - ..\..\obj\workstation.obj ..\..\obj\deployment.obj \ - ..\..\obj\environment.obj ..\..\obj\global.obj ..\..\obj\gos.obj \ - ..\..\obj\host.obj ..\..\obj\m_process.obj ..\..\obj\msg_config.obj \ - ..\..\obj\task.obj ..\..\obj\sd_workstation.obj ..\..\obj\sd_global.obj \ - ..\..\obj\sd_link.obj ..\..\obj\sd_task.obj \ - ..\..\obj\transport_plugin_sg.obj ..\..\obj\sg_transport.obj \ - ..\..\obj\sg_time.obj ..\..\obj\sg_dns.obj ..\..\obj\sg_emul.obj \ - ..\..\obj\sg_process.obj ..\..\obj\sg_msg.obj ..\..\obj\amok_base.obj \ - ..\..\obj\saturate.obj ..\..\obj\bandwidth.obj \ - ..\..\obj\peermanagement.obj ..\..\obj\context_win32.obj \ - ..\..\obj\context.obj -RESFILES = trace_usage.res -MAINSOURCE = trace_usage.bpf -RESDEPEN = $(RESFILES) -LIBFILES = -IDLFILES = -IDLGENFILES = -LIBRARIES = -PACKAGES = -SPARELIBS = -DEFFILE = -OTHERFILES = -# --------------------------------------------------------------------------- -DEBUGLIBPATH = $(BCB)\lib\debug -RELEASELIBPATH = $(BCB)\lib\release -USERDEFINES = _DEBUG -SYSDEFINES = NO_STRICT;_NO_VCL;_RTLDLL -INCLUDEPATH = ..\..\..\..\..\..\testsuite\surf;..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\include;$(BCB)\include\vcl;..\..\..\..\..\..\include;..\..\..\..\..\..\src;..\..\..\..\..\..\src\include -LIBPATH = ..\..\..\..\..\..\testsuite\surf;..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\lib\obj;$(BCB)\lib -WARNINGS= -w-rvl -w-rch -w-pia -w-pch -w-par -w-csu -w-ccc -w-aus -PATHCPP = .;..\..\..\..\..\..\testsuite\surf;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt -PATHASM = .; -PATHPAS = .; -PATHRC = .; -PATHOBJ = .;$(LIBPATH) -# --------------------------------------------------------------------------- -CFLAG1 = -Od -H=$(BCB)\lib\vcl60.csm -Hc -Vx -Ve -X- -r- -a8 -b- -k -y -v -vi- -tWC \ - -tWM- -c -IDLCFLAGS = -src_suffix cpp -D_DEBUG -I..\..\..\..\..\..\testsuite\surf \ - -I..\..\..\..\..\..\src\amok\PeerManagement \ - -I..\..\..\..\..\..\src\amok\Bandwidth -I..\..\..\..\..\..\src\amok \ - -I..\..\..\..\..\..\src\simdag -I..\..\..\..\..\..\src\msg \ - -I..\..\..\..\..\..\src\surf -I..\..\..\..\..\..\src\gras\Virtu \ - -I..\..\..\..\..\..\src\gras\Msg -I..\..\..\..\..\..\src\gras\DataDesc \ - -I..\..\..\..\..\..\src\gras\Transport -I..\..\..\..\..\..\src\gras \ - -I..\..\..\..\..\..\src\xbt -I$(BCB)\include -I$(BCB)\include\vcl \ - -I..\..\..\..\..\..\include -I..\..\..\..\..\..\src \ - -I..\..\..\..\..\..\src\include -boa -PFLAGS = -N2..\..\obj -N0..\..\obj -$YD -$W -$O- -$A8 -v -JPHNE -M -RFLAGS = -AFLAGS = /mx /w2 /zd -LFLAGS = -I..\..\obj -D"" -ap -Tpe -x -Gn -v -# --------------------------------------------------------------------------- -ALLOBJ = c0x32.obj $(OBJFILES) -ALLRES = $(RESFILES) -ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32i.lib -# --------------------------------------------------------------------------- -!ifdef IDEOPTIONS - -[Version Info] -IncludeVerInfo=0 -AutoIncBuild=0 -MajorVer=1 -MinorVer=0 -Release=0 -Build=0 -Debug=0 -PreRelease=0 -Special=0 -Private=0 -DLL=0 - -[Version Info Keys] -CompanyName= -FileDescription= -FileVersion=1.0.0.0 -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion=1.0.0.0 -Comments= - -[Debugging] -DebugSourceDirs=$(BCB)\source\vcl - -!endif - - - - - -# --------------------------------------------------------------------------- -# MAKE SECTION -# --------------------------------------------------------------------------- -# This section of the project file is not used by the BCB IDE. It is for -# the benefit of building from the command-line using the MAKE utility. -# --------------------------------------------------------------------------- - -.autodepend -# --------------------------------------------------------------------------- -!if "$(USERDEFINES)" != "" -AUSERDEFINES = -d$(USERDEFINES:;= -d) -!else -AUSERDEFINES = -!endif - -!if !$d(BCC32) -BCC32 = bcc32 -!endif - -!if !$d(CPP32) -CPP32 = cpp32 -!endif - -!if !$d(DCC32) -DCC32 = dcc32 -!endif - -!if !$d(TASM32) -TASM32 = tasm32 -!endif - -!if !$d(LINKER) -LINKER = ilink32 -!endif - -!if !$d(BRCC32) -BRCC32 = brcc32 -!endif - - -# --------------------------------------------------------------------------- -!if $d(PATHCPP) -.PATH.CPP = $(PATHCPP) -.PATH.C = $(PATHCPP) -!endif - -!if $d(PATHPAS) -.PATH.PAS = $(PATHPAS) -!endif - -!if $d(PATHASM) -.PATH.ASM = $(PATHASM) -!endif - -!if $d(PATHRC) -.PATH.RC = $(PATHRC) -!endif - -!if $d(PATHOBJ) -.PATH.OBJ = $(PATHOBJ) -!endif -# --------------------------------------------------------------------------- -$(PROJECT): $(OTHERFILES) $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE) - $(BCB)\BIN\$(LINKER) @&&! - $(LFLAGS) -L$(LIBPATH) + - $(ALLOBJ), + - $(PROJECT),, + - $(ALLLIB), + - $(DEFFILE), + - $(ALLRES) -! -# --------------------------------------------------------------------------- -.pas.hpp: - $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< } - -.pas.obj: - $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< } - -.cpp.obj: - $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< } - -.c.obj: - $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< } - -.c.i: - $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< } - -.cpp.i: - $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< } - -.asm.obj: - $(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@ - -.rc.res: - $(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $< - - - -# --------------------------------------------------------------------------- - - - - diff --git a/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.res b/win32_testsuite/borland/builder6/simulation/surf/trace_usage/trace_usage.res deleted file mode 100644 index 53d1accc46d0945afe50cda57289ae401923c1fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 876 zcmb_bu}Z{15S{3iB3E2*N=xBd!N>)Ih58qMf?H&Zl!3edxgt%9gEaFQ78Z-Yu)epO zy^BT=!AIWCyq$ToA!J2Fa?txoq+jrUmg?u|$wFZmnzf z51ktJx=uSS%K~fEMvay)h1R3yAZqNR*91Rx^m4D$%|7Za>hxEy(N7N>lb;@*pZwHQ zKXt3ER`%QZdOZJwc!Opy&O3;dL$wcI0J?@&GnlB`P-kn@NLUAY0bJBf1H$Yieu;ht zxx&A3q96w`CXqkuA9$O2neqlRRI9TftkD F$tNfOCK><$ diff --git a/win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.bpf b/win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.bpf deleted file mode 100644 index 12ae5a47b7..0000000000 --- a/win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.bpf +++ /dev/null @@ -1,4 +0,0 @@ -Ce fichier est uniquement utilisé par le gestionnaire de projets et doit être traité comme le fichier projet - - -main \ No newline at end of file diff --git a/win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.bpr b/win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.bpr deleted file mode 100644 index 1f3648f101..0000000000 --- a/win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.bpr +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Version Info] -IncludeVerInfo=0 -AutoIncBuild=0 -MajorVer=1 -MinorVer=0 -Release=0 -Build=0 -Debug=0 -PreRelease=0 -Special=0 -Private=0 -DLL=0 -Locale=1036 -CodePage=1252 - -[Version Info Keys] -CompanyName= -FileDescription= -FileVersion=1.0.0.0 -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion=1.0.0.0 -Comments= - -[Excluded Packages] -c:\program files\borland\cbuilder6\Bin\dclclxdb60.bpl=Composants BD CLX Borland -C:\Program Files\Borland\CBuilder6\Bin\dclclxstd60.bpl=Composants Standard CLX Borland - -[HistoryLists\hlIncludePath] -Count=7 -Item0=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\include;$(BCB)\include\vcl;..\..\..\..\..\..\include;..\..\..\..\..\..\src;..\..\..\..\..\..\src\include -Item1=$(BCB)\include;$(BCB)\include\vcl;..\..\..\..\..\..\include;..\..\..\..\..\..\src;..\..\..\..\..\..\src\include -Item2=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\context_usage;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include;C:..\..\..\..\..\..\src;C:..\..\..\..\..\..\src\include -Item3=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\context_usage;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include;C:..\..\..\..\..\..\src;C:..\..\..\..\..\..\src\include -Item4=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\context_usage;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include;C:..\..\..\..\..\..\src -Item5=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\context_usage;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include -Item6=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\context_usage;$(BCB)\include;$(BCB)\include\vcl - -[HistoryLists\hlLibraryPath] -Count=4 -Item0=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\lib\obj;$(BCB)\lib -Item1=$(BCB)\lib\obj;$(BCB)\lib -Item2=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\context_usage;$(BCB)\lib\obj;$(BCB)\lib -Item3=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\context_usage;$(BCB)\lib\obj;$(BCB)\lib - -[HistoryLists\hlDebugSourcePath] -Count=1 -Item0=$(BCB)\source\vcl - -[HistoryLists\hlConditionals] -Count=1 -Item0=_DEBUG - -[HistoryLists\hlIntOutputDir] -Count=1 -Item0=..\..\obj - -[HistoryLists\hlFinalOutputDir] -Count=2 -Item0=..\..\bin\ -Item1=..\..\bin - -[HistoryLists\hIBPIOutputDir] -Count=1 -Item0=..\..\lib - -[Debugging] -DebugSourceDirs=$(BCB)\source\vcl - -[Parameters] -RunParams=--xbt-log="root.thres=debug root.thres=critical" -Launcher= -UseLauncher=0 -DebugCWD= -HostApplication= -RemoteHost= -RemotePath= -RemoteLauncher= -RemoteCWD= -RemoteDebug=0 - -[Compiler] -ShowInfoMsgs=0 -LinkDebugVcl=0 -LinkCGLIB=0 - -[CORBA] -AddServerUnit=1 -AddClientUnit=1 -PrecompiledHeaders=1 - -[Language] -ActiveLang= -ProjectLang= -RootDir= - - \ No newline at end of file diff --git a/win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.c b/win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.c deleted file mode 100644 index f8b3ed7a92..0000000000 --- a/win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.c +++ /dev/null @@ -1,120 +0,0 @@ - -/* log_usage - A test of normal usage of the log facilities */ - -/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */ - -/* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - -#pragma hdrstop - -#include "xbt/context.h" -#include "xbt/fifo.h" -#include "stdlib.h" -#include "stdio.h" - -xbt_context_t cA = NULL; -xbt_context_t cB = NULL; -xbt_context_t cC = NULL; -xbt_fifo_t fifo = NULL; - -void print_args(int argc, char **argv); -void print_args(int argc, char **argv) -{ - int i; - - printf("args=<"); - - for (i = 0; i < argc; i++) - printf("%s ", argv[i]); - - printf(">\n"); -} - -int fA(int argc, char **argv); -int fA(int argc, char **argv) -{ - printf("Here is fA: "); - print_args(argc, argv); - - printf("\tContext A: Yield\n"); - xbt_context_yield(); - - xbt_fifo_push(fifo, cB); - printf("\tPush context B from context A\n"); - - printf("\tContext A: Yield\n"); - xbt_context_yield(); - printf("\tContext A : bye\n"); - - return 0; -} - -int fB(int argc, char **argv); -int fB(int argc, char **argv) -{ - printf("Here is fB: "); - print_args(argc, argv); - xbt_fifo_push(fifo, cA); - printf("\tPush context A from context B\n"); - printf("\tContext B: Yield\n"); - xbt_context_yield(); - printf("\tContext B : bye\n"); - return 0; -} - -int fC(int argc, char **argv); -int fC(int argc, char **argv) -{ - printf("Here is fC: "); - print_args(argc, argv); - - - printf("\tContext C: Yield (and exit)\n"); - xbt_context_yield(); - - - return 0; -} - -#pragma argsused - -int main(int argc, char **argv) -{ - xbt_context_t context = NULL; - - printf("XXX Test the simgrid context API\n"); - printf - (" If it fails, try another context backend.\n For example, to force the pthread backend, use:\n ./configure --with-context=pthread\n\n"); - - xbt_context_init(); - - cA = xbt_context_new(fA, NULL, NULL, NULL, NULL, 0, NULL); - cB = xbt_context_new(fB, NULL, NULL, NULL, NULL, 0, NULL); - cC = xbt_context_new(fC, NULL, NULL, NULL, NULL, 0, NULL); - - fifo = xbt_fifo_new(); - - printf("Here is context 'main'\n"); - xbt_context_start(cA); - printf("\tPush context 'A' from context 'main'\n"); - xbt_fifo_push(fifo, cA); - xbt_context_start(cB); - printf("\tPush context 'B' from context 'main'\n"); - xbt_fifo_push(fifo, cB); - xbt_context_start(cC); - xbt_fifo_push(fifo, cC); - printf("\tPush context 'C' from context 'main'\n"); - xbt_fifo_push(fifo, cC); - - while ((context = xbt_fifo_shift(fifo))) { - printf("Context main: Yield\n"); - xbt_context_schedule(context); - } - - xbt_fifo_free(fifo); - xbt_context_exit(); - - cA = cB = cC = NULL; - return 0; -} diff --git a/win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.mak b/win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.mak deleted file mode 100644 index 0b69743807..0000000000 --- a/win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.mak +++ /dev/null @@ -1,229 +0,0 @@ -# --------------------------------------------------------------------------- -!if !$d(BCB) -BCB = $(MAKEDIR)\.. -!endif - -# --------------------------------------------------------------------------- -# IDE SECTION -# --------------------------------------------------------------------------- -# The following section of the project makefile is managed by the BCB IDE. -# It is recommended to use the IDE to change any of the values in this -# section. -# --------------------------------------------------------------------------- - -VERSION = BCB.06.00 -# --------------------------------------------------------------------------- -PROJECT = ..\..\bin\context_usage.exe -OBJFILES = ..\..\obj\context_usage.obj ..\..\obj\graphxml_parse.obj \ - ..\..\obj\heap.obj ..\..\obj\log.obj ..\..\obj\log_default_appender.obj \ - ..\..\obj\mallocator.obj ..\..\obj\set.obj ..\..\obj\snprintf.obj \ - ..\..\obj\swag.obj ..\..\obj\sysdep.obj ..\..\obj\xbt_main.obj \ - ..\..\obj\xbt_matrix.obj ..\..\obj\xbt_peer.obj ..\..\obj\asserts.obj \ - ..\..\obj\config.obj ..\..\obj\cunit.obj ..\..\obj\dict.obj \ - ..\..\obj\dict_cursor.obj ..\..\obj\dict_elm.obj ..\..\obj\dict_multi.obj \ - ..\..\obj\dynar.obj ..\..\obj\ex.obj ..\..\obj\fifo.obj \ - ..\..\obj\graph.obj ..\..\obj\gras.obj ..\..\obj\transport.obj \ - ..\..\obj\datadesc.obj ..\..\obj\ddt_convert.obj ..\..\obj\ddt_create.obj \ - ..\..\obj\ddt_exchange.obj ..\..\obj\ddt_parse.obj \ - ..\..\obj\ddt_parse.yy.obj ..\..\obj\cbps.obj ..\..\obj\timer.obj \ - ..\..\obj\msg.obj ..\..\obj\rpc.obj ..\..\obj\process.obj \ - ..\..\obj\gras_module.obj ..\..\obj\workstation_KCCFLN05.obj \ - ..\..\obj\cpu.obj ..\..\obj\maxmin.obj ..\..\obj\network.obj \ - ..\..\obj\network_dassf.obj ..\..\obj\surf.obj ..\..\obj\surf_timer.obj \ - ..\..\obj\surfxml_parse.obj ..\..\obj\trace_mgr.obj \ - ..\..\obj\workstation.obj ..\..\obj\deployment.obj \ - ..\..\obj\environment.obj ..\..\obj\global.obj ..\..\obj\gos.obj \ - ..\..\obj\host.obj ..\..\obj\m_process.obj ..\..\obj\msg_config.obj \ - ..\..\obj\task.obj ..\..\obj\sd_workstation.obj ..\..\obj\sd_global.obj \ - ..\..\obj\sd_link.obj ..\..\obj\sd_task.obj \ - ..\..\obj\transport_plugin_sg.obj ..\..\obj\sg_transport.obj \ - ..\..\obj\sg_time.obj ..\..\obj\sg_dns.obj ..\..\obj\sg_emul.obj \ - ..\..\obj\sg_process.obj ..\..\obj\sg_msg.obj ..\..\obj\amok_base.obj \ - ..\..\obj\saturate.obj ..\..\obj\bandwidth.obj \ - ..\..\obj\peermanagement.obj ..\..\obj\context_win32.obj \ - ..\..\obj\context.obj -RESFILES = context_usage.res -MAINSOURCE = context_usage.bpf -RESDEPEN = $(RESFILES) -LIBFILES = -IDLFILES = -IDLGENFILES = -LIBRARIES = -PACKAGES = -SPARELIBS = -DEFFILE = -OTHERFILES = -# --------------------------------------------------------------------------- -DEBUGLIBPATH = $(BCB)\lib\debug -RELEASELIBPATH = $(BCB)\lib\release -USERDEFINES = _DEBUG -SYSDEFINES = NO_STRICT;_NO_VCL -INCLUDEPATH = ..\..\..\..\..\..\testsuite\xbt;..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\include;$(BCB)\include\vcl;..\..\..\..\..\..\include;..\..\..\..\..\..\src;..\..\..\..\..\..\src\include -LIBPATH = ..\..\..\..\..\..\testsuite\xbt;..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\lib\obj;$(BCB)\lib -WARNINGS= -w-rvl -w-rch -w-pia -w-pch -w-par -w-csu -w-ccc -w-aus -PATHCPP = .;..\..\..\..\..\..\testsuite\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt -PATHASM = .; -PATHPAS = .; -PATHRC = .; -PATHOBJ = .;$(LIBPATH) -# --------------------------------------------------------------------------- -CFLAG1 = -Od -H=$(BCB)\lib\vcl60.csm -Hc -Vx -Ve -X- -r- -a8 -b- -k -y -v -vi- -tWC \ - -tWM- -c -IDLCFLAGS = -I..\..\..\..\..\..\testsuite\xbt \ - -I..\..\..\..\..\..\src\amok\PeerManagement \ - -I..\..\..\..\..\..\src\amok\Bandwidth -I..\..\..\..\..\..\src\amok \ - -I..\..\..\..\..\..\src\simdag -I..\..\..\..\..\..\src\msg \ - -I..\..\..\..\..\..\src\surf -I..\..\..\..\..\..\src\gras\Virtu \ - -I..\..\..\..\..\..\src\gras\Msg -I..\..\..\..\..\..\src\gras\DataDesc \ - -I..\..\..\..\..\..\src\gras\Transport -I..\..\..\..\..\..\src\gras \ - -I..\..\..\..\..\..\src\xbt -I$(BCB)\include -I$(BCB)\include\vcl \ - -I..\..\..\..\..\..\include -I..\..\..\..\..\..\src \ - -I..\..\..\..\..\..\src\include -src_suffix cpp -D_DEBUG -boa -PFLAGS = -N2..\..\obj -N0..\..\obj -$YD -$W -$O- -$A8 -v -JPHNE -M -RFLAGS = -AFLAGS = /mx /w2 /zd -LFLAGS = -I..\..\obj -D"" -ap -Tpe -x -Gn -v -# --------------------------------------------------------------------------- -ALLOBJ = c0x32.obj $(OBJFILES) -ALLRES = $(RESFILES) -ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32.lib -# --------------------------------------------------------------------------- -!ifdef IDEOPTIONS - -[Version Info] -IncludeVerInfo=0 -AutoIncBuild=0 -MajorVer=1 -MinorVer=0 -Release=0 -Build=0 -Debug=0 -PreRelease=0 -Special=0 -Private=0 -DLL=0 - -[Version Info Keys] -CompanyName= -FileDescription= -FileVersion=1.0.0.0 -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion=1.0.0.0 -Comments= - -[Debugging] -DebugSourceDirs=$(BCB)\source\vcl - -!endif - - - - - -# --------------------------------------------------------------------------- -# MAKE SECTION -# --------------------------------------------------------------------------- -# This section of the project file is not used by the BCB IDE. It is for -# the benefit of building from the command-line using the MAKE utility. -# --------------------------------------------------------------------------- - -.autodepend -# --------------------------------------------------------------------------- -!if "$(USERDEFINES)" != "" -AUSERDEFINES = -d$(USERDEFINES:;= -d) -!else -AUSERDEFINES = -!endif - -!if !$d(BCC32) -BCC32 = bcc32 -!endif - -!if !$d(CPP32) -CPP32 = cpp32 -!endif - -!if !$d(DCC32) -DCC32 = dcc32 -!endif - -!if !$d(TASM32) -TASM32 = tasm32 -!endif - -!if !$d(LINKER) -LINKER = ilink32 -!endif - -!if !$d(BRCC32) -BRCC32 = brcc32 -!endif - - -# --------------------------------------------------------------------------- -!if $d(PATHCPP) -.PATH.CPP = $(PATHCPP) -.PATH.C = $(PATHCPP) -!endif - -!if $d(PATHPAS) -.PATH.PAS = $(PATHPAS) -!endif - -!if $d(PATHASM) -.PATH.ASM = $(PATHASM) -!endif - -!if $d(PATHRC) -.PATH.RC = $(PATHRC) -!endif - -!if $d(PATHOBJ) -.PATH.OBJ = $(PATHOBJ) -!endif -# --------------------------------------------------------------------------- -$(PROJECT): $(OTHERFILES) $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE) - $(BCB)\BIN\$(LINKER) @&&! - $(LFLAGS) -L$(LIBPATH) + - $(ALLOBJ), + - $(PROJECT),, + - $(ALLLIB), + - $(DEFFILE), + - $(ALLRES) -! -# --------------------------------------------------------------------------- -.pas.hpp: - $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< } - -.pas.obj: - $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< } - -.cpp.obj: - $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< } - -.c.obj: - $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< } - -.c.i: - $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< } - -.cpp.i: - $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< } - -.asm.obj: - $(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@ - -.rc.res: - $(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $< - - - -# --------------------------------------------------------------------------- - - - - diff --git a/win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.res b/win32_testsuite/borland/builder6/simulation/xbt/context_usage/context_usage.res deleted file mode 100644 index 53d1accc46d0945afe50cda57289ae401923c1fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 876 zcmb_bu}Z{15S{3iB3E2*N=xBd!N>)Ih58qMf?H&Zl!3edxgt%9gEaFQ78Z-Yu)epO zy^BT=!AIWCyq$ToA!J2Fa?txoq+jrUmg?u|$wFZmnzf z51ktJx=uSS%K~fEMvay)h1R3yAZqNR*91Rx^m4D$%|7Za>hxEy(N7N>lb;@*pZwHQ zKXt3ER`%QZdOZJwc!Opy&O3;dL$wcI0J?@&GnlB`P-kn@NLUAY0bJBf1H$Yieu;ht zxx&A3q96w`CXqkuA9$O2neqlRRI9TftkD F$tNfOCK><$ diff --git a/win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graph.xml b/win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graph.xml deleted file mode 100644 index 258cd8d05d..0000000000 --- a/win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graph.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.bpf b/win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.bpf deleted file mode 100644 index 12ae5a47b7..0000000000 --- a/win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.bpf +++ /dev/null @@ -1,4 +0,0 @@ -Ce fichier est uniquement utilisé par le gestionnaire de projets et doit être traité comme le fichier projet - - -main \ No newline at end of file diff --git a/win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.bpr b/win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.bpr deleted file mode 100644 index 0deb1763dd..0000000000 --- a/win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.bpr +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Version Info] -IncludeVerInfo=0 -AutoIncBuild=0 -MajorVer=1 -MinorVer=0 -Release=0 -Build=0 -Debug=0 -PreRelease=0 -Special=0 -Private=0 -DLL=0 -Locale=1036 -CodePage=1252 - -[Version Info Keys] -CompanyName= -FileDescription= -FileVersion=1.0.0.0 -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion=1.0.0.0 -Comments= - -[Excluded Packages] -c:\program files\borland\cbuilder6\Bin\dclclxdb60.bpl=Composants BD CLX Borland -C:\Program Files\Borland\CBuilder6\Bin\dclclxstd60.bpl=Composants Standard CLX Borland - -[HistoryLists\hlIncludePath] -Count=7 -Item0=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\include;$(BCB)\include\vcl;..\..\..\..\..\..\include;..\..\..\..\..\..\src;..\..\..\..\..\..\src\include -Item1=$(BCB)\include;$(BCB)\include\vcl;..\..\..\..\..\..\include;..\..\..\..\..\..\src;..\..\..\..\..\..\src\include -Item2=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\graphxml_usage;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include;C:..\..\..\..\..\..\src;C:..\..\..\..\..\..\src\include -Item3=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\graphxml_usage;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include;C:..\..\..\..\..\..\src;C:..\..\..\..\..\..\src\include -Item4=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\graphxml_usage;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include;C:..\..\..\..\..\..\src -Item5=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\graphxml_usage;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include -Item6=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\graphxml_usage;$(BCB)\include;$(BCB)\include\vcl - -[HistoryLists\hlLibraryPath] -Count=4 -Item0=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\lib\obj;$(BCB)\lib -Item1=$(BCB)\lib\obj;$(BCB)\lib -Item2=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\graphxml_usage;$(BCB)\lib\obj;$(BCB)\lib -Item3=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\graphxml_usage;$(BCB)\lib\obj;$(BCB)\lib - -[HistoryLists\hlDebugSourcePath] -Count=1 -Item0=$(BCB)\source\vcl - -[HistoryLists\hlConditionals] -Count=1 -Item0=_DEBUG - -[HistoryLists\hlIntOutputDir] -Count=1 -Item0=..\..\obj - -[HistoryLists\hlFinalOutputDir] -Count=2 -Item0=..\..\bin\ -Item1=..\..\bin - -[HistoryLists\hIBPIOutputDir] -Count=1 -Item0=..\..\lib - -[Debugging] -DebugSourceDirs=$(BCB)\source\vcl - -[Parameters] -RunParams=C:\dev\cvs\simgrid\win32_testsuite\borland\builder6\simulation\xbt\graphxml_usage\graph.xml -Launcher= -UseLauncher=0 -DebugCWD= -HostApplication= -RemoteHost= -RemotePath= -RemoteLauncher= -RemoteCWD= -RemoteDebug=0 - -[Compiler] -ShowInfoMsgs=0 -LinkDebugVcl=0 -LinkCGLIB=0 - -[CORBA] -AddServerUnit=1 -AddClientUnit=1 -PrecompiledHeaders=1 - -[Language] -ActiveLang= -ProjectLang= -RootDir= - - \ No newline at end of file diff --git a/win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.c b/win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.c deleted file mode 100644 index 241df8b54f..0000000000 --- a/win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.c +++ /dev/null @@ -1,177 +0,0 @@ - -/* A few basic tests for the graphxml library */ - -/* Copyright (c) 2006 Darina Dimitrova, Arnaud Legrand. All rights reserved. */ - -/* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - -#pragma hdrstop - - -#include "xbt/module.h" -#include "xbt/sysdep.h" -#include "xbt/graph.h" -#include "xbt/graphxml.h" -#include "xbt/log.h" - -XBT_LOG_NEW_DEFAULT_CATEGORY(test, "Logging specific to graphxml test"); - - -static void *node_label_and_data(xbt_node_t node, const char *label, - const char *data) -{ - char *lbl = xbt_strdup(label); - return lbl; -} - -#define free_label free - -static const char *node_name(xbt_node_t n) -{ - return xbt_graph_node_get_data(n); -} - -void test(char *graph_file); -void test(char *graph_file) -{ - int test_node_deletion = 0; - int test_edge_deletion = 0; - int test_export_xml = 1; - int test_export_dot = 1; - int test_export_length = 1; - int test_shortest_paths = 1; - int test_topo_sort = 1; - - int i, j; - unsigned long n; - - xbt_dynar_t edges = NULL; - xbt_dynar_t nodes = NULL; - - xbt_graph_t graph = - xbt_graph_read(graph_file, &node_label_and_data, NULL); - - n = xbt_dynar_length(xbt_graph_get_nodes(graph)); - - if (test_export_xml) { - INFO0("---- Testing XML export. Exporting to testgraph.xml ----"); - xbt_graph_export_graphxml(graph, "testgraph.xml", NULL, NULL, NULL, - NULL); - } - - if (test_export_dot) { - INFO0("---- Testing GraphViz export. Exporting to testgraph.dot ----"); - xbt_graph_export_graphviz(graph, "testgraph.dot", node_name, NULL); - } - - if (test_export_length) { - char *buf = NULL; - double *adj = NULL; - - INFO0("---- Dumping Edge lengths ----"); - adj = xbt_graph_get_length_matrix(graph); - buf = calloc(n * 20, sizeof(char)); - - for (i = 0; i < n; i++) { - for (j = 0; j < n; j++) { - sprintf(buf + strlen(buf), "%le\t", adj[i * n + j]); - } - - INFO1("%s", buf); - buf[0] = '\000'; - } - - free(buf); - free(adj); - } - - if (test_shortest_paths) { - char *buf = NULL; - xbt_node_t *route = NULL; - - INFO0("---- Testing Shortest Paths ----"); - route = xbt_graph_shortest_paths(graph); - buf = calloc(n * 40, sizeof(char)); - - for (i = 0; i < n; i++) { - for (j = 0; j < n; j++) { - if (route[i * n + j]) - snprintf(buf + strlen(buf), 40, "%s\t", - node_name(route[i * n + j])); - } - - INFO1("%s", buf); - buf[0] = '\000'; - } - - free(buf); - free(route); - } - - if (test_topo_sort) { - xbt_node_t *sorted = NULL; - - INFO0("---- Testing Topological Sort ----"); - sorted = xbt_graph_topo_sort(graph); - - for (i = 0; i < n; i++) { - if (sorted[i]) { - INFO3("sorted[%d] = %s (%p)", i, node_name(sorted[i]), sorted[i]); - } - } - - free(sorted); - } - - - if (test_node_deletion) { - INFO0("---- Testing Node Deletion ----"); - nodes = xbt_graph_get_nodes(graph); - edges = xbt_graph_get_edges(graph); - INFO2("Before Node deletion: %lu nodes, %lu edges", - xbt_dynar_length(nodes), xbt_dynar_length(edges)); - - while (xbt_dynar_length(nodes)) - xbt_graph_free_node(graph, - *((xbt_node_t *) xbt_dynar_get_ptr(nodes, 0)), - free_label, NULL); - - INFO2("After Node deletion: %lu nodes, %lu edges", - xbt_dynar_length(nodes), xbt_dynar_length(edges)); - } - - if (test_edge_deletion) { - INFO0("---- Testing Edge Deletion ----"); - nodes = xbt_graph_get_nodes(graph); - edges = xbt_graph_get_edges(graph); - INFO2("Before Edge deletion: %lu nodes, %lu edges", - xbt_dynar_length(nodes), xbt_dynar_length(edges)); - - while (xbt_dynar_length(edges)) - xbt_graph_free_edge(graph, - *((xbt_edge_t *) xbt_dynar_get_ptr(edges, 0)), - NULL); - - INFO2("After Edge deletion: %lu nodes, %lu edges", - xbt_dynar_length(nodes), xbt_dynar_length(edges)); - } - - xbt_graph_free_graph(graph, free_label, NULL, NULL); -} - -#pragma argsused - -int main(int argc, char **argv) -{ - xbt_init(&argc, argv); - - if (argc == 1) { - fprintf(stderr, "Usage : %s graph.xml\n", argv[0]); - return 1; - } - - test(argv[1]); - - return 0; -} diff --git a/win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.mak b/win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.mak deleted file mode 100644 index 8bfdb0ee1b..0000000000 --- a/win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.mak +++ /dev/null @@ -1,229 +0,0 @@ -# --------------------------------------------------------------------------- -!if !$d(BCB) -BCB = $(MAKEDIR)\.. -!endif - -# --------------------------------------------------------------------------- -# IDE SECTION -# --------------------------------------------------------------------------- -# The following section of the project makefile is managed by the BCB IDE. -# It is recommended to use the IDE to change any of the values in this -# section. -# --------------------------------------------------------------------------- - -VERSION = BCB.06.00 -# --------------------------------------------------------------------------- -PROJECT = ..\..\bin\graphxml_usage.exe -OBJFILES = ..\..\obj\graphxml_usage.obj ..\..\obj\graphxml_parse.obj \ - ..\..\obj\heap.obj ..\..\obj\log.obj ..\..\obj\log_default_appender.obj \ - ..\..\obj\mallocator.obj ..\..\obj\set.obj ..\..\obj\snprintf.obj \ - ..\..\obj\swag.obj ..\..\obj\sysdep.obj ..\..\obj\xbt_main.obj \ - ..\..\obj\xbt_matrix.obj ..\..\obj\xbt_peer.obj ..\..\obj\asserts.obj \ - ..\..\obj\config.obj ..\..\obj\cunit.obj ..\..\obj\dict.obj \ - ..\..\obj\dict_cursor.obj ..\..\obj\dict_elm.obj ..\..\obj\dict_multi.obj \ - ..\..\obj\dynar.obj ..\..\obj\ex.obj ..\..\obj\fifo.obj \ - ..\..\obj\graph.obj ..\..\obj\gras.obj ..\..\obj\transport.obj \ - ..\..\obj\datadesc.obj ..\..\obj\ddt_convert.obj ..\..\obj\ddt_create.obj \ - ..\..\obj\ddt_exchange.obj ..\..\obj\ddt_parse.obj \ - ..\..\obj\ddt_parse.yy.obj ..\..\obj\cbps.obj ..\..\obj\timer.obj \ - ..\..\obj\msg.obj ..\..\obj\rpc.obj ..\..\obj\process.obj \ - ..\..\obj\gras_module.obj ..\..\obj\workstation_KCCFLN05.obj \ - ..\..\obj\cpu.obj ..\..\obj\maxmin.obj ..\..\obj\network.obj \ - ..\..\obj\network_dassf.obj ..\..\obj\surf.obj ..\..\obj\surf_timer.obj \ - ..\..\obj\surfxml_parse.obj ..\..\obj\trace_mgr.obj \ - ..\..\obj\workstation.obj ..\..\obj\deployment.obj \ - ..\..\obj\environment.obj ..\..\obj\global.obj ..\..\obj\gos.obj \ - ..\..\obj\host.obj ..\..\obj\m_process.obj ..\..\obj\msg_config.obj \ - ..\..\obj\task.obj ..\..\obj\sd_workstation.obj ..\..\obj\sd_global.obj \ - ..\..\obj\sd_link.obj ..\..\obj\sd_task.obj \ - ..\..\obj\transport_plugin_sg.obj ..\..\obj\sg_transport.obj \ - ..\..\obj\sg_time.obj ..\..\obj\sg_dns.obj ..\..\obj\sg_emul.obj \ - ..\..\obj\sg_process.obj ..\..\obj\sg_msg.obj ..\..\obj\amok_base.obj \ - ..\..\obj\saturate.obj ..\..\obj\bandwidth.obj \ - ..\..\obj\peermanagement.obj ..\..\obj\context_win32.obj \ - ..\..\obj\context.obj -RESFILES = graphxml_usage.res -MAINSOURCE = graphxml_usage.bpf -RESDEPEN = $(RESFILES) -LIBFILES = -IDLFILES = -IDLGENFILES = -LIBRARIES = -PACKAGES = -SPARELIBS = -DEFFILE = -OTHERFILES = -# --------------------------------------------------------------------------- -DEBUGLIBPATH = $(BCB)\lib\debug -RELEASELIBPATH = $(BCB)\lib\release -USERDEFINES = _DEBUG -SYSDEFINES = NO_STRICT;_NO_VCL -INCLUDEPATH = ..\..\..\..\..\..\testsuite\xbt;..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\include;$(BCB)\include\vcl;..\..\..\..\..\..\include;..\..\..\..\..\..\src;..\..\..\..\..\..\src\include -LIBPATH = ..\..\..\..\..\..\testsuite\xbt;..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\lib\obj;$(BCB)\lib -WARNINGS= -w-rvl -w-rch -w-pia -w-pch -w-par -w-csu -w-ccc -w-aus -PATHCPP = .;..\..\..\..\..\..\testsuite\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt -PATHASM = .; -PATHPAS = .; -PATHRC = .; -PATHOBJ = .;$(LIBPATH) -# --------------------------------------------------------------------------- -CFLAG1 = -Od -H=$(BCB)\lib\vcl60.csm -Hc -Vx -Ve -X- -r- -a8 -b- -k -y -v -vi- -tWC \ - -tWM- -c -IDLCFLAGS = -I..\..\..\..\..\..\testsuite\xbt \ - -I..\..\..\..\..\..\src\amok\PeerManagement \ - -I..\..\..\..\..\..\src\amok\Bandwidth -I..\..\..\..\..\..\src\amok \ - -I..\..\..\..\..\..\src\simdag -I..\..\..\..\..\..\src\msg \ - -I..\..\..\..\..\..\src\surf -I..\..\..\..\..\..\src\gras\Virtu \ - -I..\..\..\..\..\..\src\gras\Msg -I..\..\..\..\..\..\src\gras\DataDesc \ - -I..\..\..\..\..\..\src\gras\Transport -I..\..\..\..\..\..\src\gras \ - -I..\..\..\..\..\..\src\xbt -I$(BCB)\include -I$(BCB)\include\vcl \ - -I..\..\..\..\..\..\include -I..\..\..\..\..\..\src \ - -I..\..\..\..\..\..\src\include -src_suffix cpp -D_DEBUG -boa -PFLAGS = -N2..\..\obj -N0..\..\obj -$YD -$W -$O- -$A8 -v -JPHNE -M -RFLAGS = -AFLAGS = /mx /w2 /zd -LFLAGS = -I..\..\obj -D"" -ap -Tpe -x -Gn -v -# --------------------------------------------------------------------------- -ALLOBJ = c0x32.obj $(OBJFILES) -ALLRES = $(RESFILES) -ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32.lib -# --------------------------------------------------------------------------- -!ifdef IDEOPTIONS - -[Version Info] -IncludeVerInfo=0 -AutoIncBuild=0 -MajorVer=1 -MinorVer=0 -Release=0 -Build=0 -Debug=0 -PreRelease=0 -Special=0 -Private=0 -DLL=0 - -[Version Info Keys] -CompanyName= -FileDescription= -FileVersion=1.0.0.0 -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion=1.0.0.0 -Comments= - -[Debugging] -DebugSourceDirs=$(BCB)\source\vcl - -!endif - - - - - -# --------------------------------------------------------------------------- -# MAKE SECTION -# --------------------------------------------------------------------------- -# This section of the project file is not used by the BCB IDE. It is for -# the benefit of building from the command-line using the MAKE utility. -# --------------------------------------------------------------------------- - -.autodepend -# --------------------------------------------------------------------------- -!if "$(USERDEFINES)" != "" -AUSERDEFINES = -d$(USERDEFINES:;= -d) -!else -AUSERDEFINES = -!endif - -!if !$d(BCC32) -BCC32 = bcc32 -!endif - -!if !$d(CPP32) -CPP32 = cpp32 -!endif - -!if !$d(DCC32) -DCC32 = dcc32 -!endif - -!if !$d(TASM32) -TASM32 = tasm32 -!endif - -!if !$d(LINKER) -LINKER = ilink32 -!endif - -!if !$d(BRCC32) -BRCC32 = brcc32 -!endif - - -# --------------------------------------------------------------------------- -!if $d(PATHCPP) -.PATH.CPP = $(PATHCPP) -.PATH.C = $(PATHCPP) -!endif - -!if $d(PATHPAS) -.PATH.PAS = $(PATHPAS) -!endif - -!if $d(PATHASM) -.PATH.ASM = $(PATHASM) -!endif - -!if $d(PATHRC) -.PATH.RC = $(PATHRC) -!endif - -!if $d(PATHOBJ) -.PATH.OBJ = $(PATHOBJ) -!endif -# --------------------------------------------------------------------------- -$(PROJECT): $(OTHERFILES) $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE) - $(BCB)\BIN\$(LINKER) @&&! - $(LFLAGS) -L$(LIBPATH) + - $(ALLOBJ), + - $(PROJECT),, + - $(ALLLIB), + - $(DEFFILE), + - $(ALLRES) -! -# --------------------------------------------------------------------------- -.pas.hpp: - $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< } - -.pas.obj: - $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< } - -.cpp.obj: - $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< } - -.c.obj: - $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< } - -.c.i: - $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< } - -.cpp.i: - $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< } - -.asm.obj: - $(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@ - -.rc.res: - $(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $< - - - -# --------------------------------------------------------------------------- - - - - diff --git a/win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.res b/win32_testsuite/borland/builder6/simulation/xbt/graphxml_usage/graphxml_usage.res deleted file mode 100644 index 53d1accc46d0945afe50cda57289ae401923c1fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 876 zcmb_bu}Z{15S{3iB3E2*N=xBd!N>)Ih58qMf?H&Zl!3edxgt%9gEaFQ78Z-Yu)epO zy^BT=!AIWCyq$ToA!J2Fa?txoq+jrUmg?u|$wFZmnzf z51ktJx=uSS%K~fEMvay)h1R3yAZqNR*91Rx^m4D$%|7Za>hxEy(N7N>lb;@*pZwHQ zKXt3ER`%QZdOZJwc!Opy&O3;dL$wcI0J?@&GnlB`P-kn@NLUAY0bJBf1H$Yieu;ht zxx&A3q96w`CXqkuA9$O2neqlRRI9TftkD F$tNfOCK><$ diff --git a/win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.bpf b/win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.bpf deleted file mode 100644 index 12ae5a47b7..0000000000 --- a/win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.bpf +++ /dev/null @@ -1,4 +0,0 @@ -Ce fichier est uniquement utilisé par le gestionnaire de projets et doit être traité comme le fichier projet - - -main \ No newline at end of file diff --git a/win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.bpr b/win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.bpr deleted file mode 100644 index fc416c7cd2..0000000000 --- a/win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.bpr +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Version Info] -IncludeVerInfo=0 -AutoIncBuild=0 -MajorVer=1 -MinorVer=0 -Release=0 -Build=0 -Debug=0 -PreRelease=0 -Special=0 -Private=0 -DLL=0 -Locale=1036 -CodePage=1252 - -[Version Info Keys] -CompanyName= -FileDescription= -FileVersion=1.0.0.0 -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion=1.0.0.0 -Comments= - -[Excluded Packages] -c:\program files\borland\cbuilder6\Bin\dclclxdb60.bpl=Composants BD CLX Borland -C:\Program Files\Borland\CBuilder6\Bin\dclclxstd60.bpl=Composants Standard CLX Borland - -[HistoryLists\hlIncludePath] -Count=7 -Item0=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\include;$(BCB)\include\vcl;..\..\..\..\..\..\include;..\..\..\..\..\..\src;..\..\..\..\..\..\src\include -Item1=$(BCB)\include;$(BCB)\include\vcl;..\..\..\..\..\..\include;..\..\..\..\..\..\src;..\..\..\..\..\..\src\include -Item2=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\heap_bench;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include;C:..\..\..\..\..\..\src;C:..\..\..\..\..\..\src\include -Item3=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\heap_bench;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include;C:..\..\..\..\..\..\src;C:..\..\..\..\..\..\src\include -Item4=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\heap_bench;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include;C:..\..\..\..\..\..\src -Item5=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\heap_bench;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include -Item6=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\heap_bench;$(BCB)\include;$(BCB)\include\vcl - -[HistoryLists\hlLibraryPath] -Count=4 -Item0=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\lib\obj;$(BCB)\lib -Item1=$(BCB)\lib\obj;$(BCB)\lib -Item2=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\heap_bench;$(BCB)\lib\obj;$(BCB)\lib -Item3=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\heap_bench;$(BCB)\lib\obj;$(BCB)\lib - -[HistoryLists\hlDebugSourcePath] -Count=1 -Item0=$(BCB)\source\vcl - -[HistoryLists\hlConditionals] -Count=1 -Item0=_DEBUG - -[HistoryLists\hlIntOutputDir] -Count=1 -Item0=..\..\obj - -[HistoryLists\hlFinalOutputDir] -Count=2 -Item0=..\..\bin\ -Item1=..\..\bin - -[HistoryLists\hIBPIOutputDir] -Count=1 -Item0=..\..\lib - -[Debugging] -DebugSourceDirs=$(BCB)\source\vcl - -[Parameters] -RunParams=--xbt-log="root.thres=debug root.thres=critical" -Launcher= -UseLauncher=0 -DebugCWD= -HostApplication= -RemoteHost= -RemotePath= -RemoteLauncher= -RemoteCWD= -RemoteDebug=0 - -[Compiler] -ShowInfoMsgs=0 -LinkDebugVcl=0 -LinkCGLIB=0 - -[CORBA] -AddServerUnit=1 -AddClientUnit=1 -PrecompiledHeaders=1 - -[Language] -ActiveLang= -ProjectLang= -RootDir= - - \ No newline at end of file diff --git a/win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.c b/win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.c deleted file mode 100644 index b5e5997d14..0000000000 --- a/win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.c +++ /dev/null @@ -1,133 +0,0 @@ -//--------------------------------------------------------------------------- - -#pragma hdrstop - -/*#include "..\..\..\..\..\..\include\xbt\dict.h"*/ - -/* A few tests for the xbt_heap module */ - -/* Copyright (c) 2006, 2010. The SimGrid Team. - * All rights reserved. */ - -/* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - -#include -#include - -#include "xbt/heap.h" -#include "gras/virtu.h" /* time manipulation in bench */ - -#define MAX_TEST 1000000 - -int _XBT_CALL compare_double(const void *a, const void *b); -void test_heap_validity(int size); -void test_heap_mean_operation(int size); -void test_reset_heap(xbt_heap_t heap, int size); - - -int _XBT_CALL compare_double(const void *a, const void *b) -{ - double pa, pb; - - pa = *((double *) a); - pb = *((double *) b); - - if (pa > pb) - return 1; - - if (pa == pb) - return 0; - - return -1; -} - -void test_heap_validity(int size) -{ - xbt_heap_t heap = xbt_heap_new(size, NULL); - double *tab = calloc(size, sizeof(double)); - int i; - - for (i = 0; i < size; i++) { - tab[i] = (10.0 * rand() / (RAND_MAX + 1.0)); - xbt_heap_push(heap, NULL, tab[i]); - } - - qsort(tab, size, sizeof(double), compare_double); - - for (i = 0; i < size; i++) { - /* printf("%lg" " ", xbt_heap_maxkey(heap)); */ - if (xbt_heap_maxkey(heap) != tab[i]) { - fprintf(stderr, "Problem !\n"); - exit(1); - } - - xbt_heap_pop(heap); - } - - xbt_heap_free(heap); - free(tab); - printf("Validity test complete!\n"); -} - -void test_heap_mean_operation(int size) -{ - xbt_heap_t heap = xbt_heap_new(size, NULL); - double val; - double date = 0; - int i, j; - - date = gras_os_time() * 1000000; - - for (i = 0; i < size; i++) - xbt_heap_push(heap, NULL, (10.0 * rand() / (RAND_MAX + 1.0))); - - date = gras_os_time() * 1000000 - date; - - printf("Creation time %d size heap : %g\n", size, date); - - date = gras_os_time() * 1000000; - - for (j = 0; j < MAX_TEST; j++) { - - if (!(j % size) && j) - test_reset_heap(heap, size); - - val = xbt_heap_maxkey(heap); - xbt_heap_pop(heap); - xbt_heap_push(heap, NULL, 3.0 * val); - } - - date = gras_os_time() * 1000000 - date; - printf("Mean access time for a %d size heap : %g\n", size, - date * 1.0 / (MAX_TEST + 0.0)); - - xbt_heap_free(heap); -} - -void test_reset_heap(xbt_heap_t heap, int size) -{ - int i; - xbt_heap_free(heap); - heap = xbt_heap_new(size, NULL); - - for (i = 0; i < size; i++) { - xbt_heap_push(heap, NULL, (10.0 * rand() / (RAND_MAX + 1.0))); - } -} - - -#pragma argsused - -int main(int argc, char **argv) -{ - int size; - - for (size = 100; size < 10000; size *= 10) { - test_heap_validity(size); - test_heap_mean_operation(size); - } - return 0; -} - -//--------------------------------------------------------------------------- diff --git a/win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.mak b/win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.mak deleted file mode 100644 index a8401fa2bc..0000000000 --- a/win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.mak +++ /dev/null @@ -1,229 +0,0 @@ -# --------------------------------------------------------------------------- -!if !$d(BCB) -BCB = $(MAKEDIR)\.. -!endif - -# --------------------------------------------------------------------------- -# IDE SECTION -# --------------------------------------------------------------------------- -# The following section of the project makefile is managed by the BCB IDE. -# It is recommended to use the IDE to change any of the values in this -# section. -# --------------------------------------------------------------------------- - -VERSION = BCB.06.00 -# --------------------------------------------------------------------------- -PROJECT = ..\..\bin\heap_bench.exe -OBJFILES = ..\..\obj\heap_bench.obj ..\..\obj\graphxml_parse.obj ..\..\obj\heap.obj \ - ..\..\obj\log.obj ..\..\obj\log_default_appender.obj \ - ..\..\obj\mallocator.obj ..\..\obj\set.obj ..\..\obj\snprintf.obj \ - ..\..\obj\swag.obj ..\..\obj\sysdep.obj ..\..\obj\xbt_main.obj \ - ..\..\obj\xbt_matrix.obj ..\..\obj\xbt_peer.obj ..\..\obj\asserts.obj \ - ..\..\obj\config.obj ..\..\obj\cunit.obj ..\..\obj\dict.obj \ - ..\..\obj\dict_cursor.obj ..\..\obj\dict_elm.obj ..\..\obj\dict_multi.obj \ - ..\..\obj\dynar.obj ..\..\obj\ex.obj ..\..\obj\fifo.obj \ - ..\..\obj\graph.obj ..\..\obj\gras.obj ..\..\obj\transport.obj \ - ..\..\obj\datadesc.obj ..\..\obj\ddt_convert.obj ..\..\obj\ddt_create.obj \ - ..\..\obj\ddt_exchange.obj ..\..\obj\ddt_parse.obj \ - ..\..\obj\ddt_parse.yy.obj ..\..\obj\cbps.obj ..\..\obj\timer.obj \ - ..\..\obj\msg.obj ..\..\obj\rpc.obj ..\..\obj\process.obj \ - ..\..\obj\gras_module.obj ..\..\obj\workstation_KCCFLN05.obj \ - ..\..\obj\cpu.obj ..\..\obj\maxmin.obj ..\..\obj\network.obj \ - ..\..\obj\network_dassf.obj ..\..\obj\surf.obj ..\..\obj\surf_timer.obj \ - ..\..\obj\surfxml_parse.obj ..\..\obj\trace_mgr.obj \ - ..\..\obj\workstation.obj ..\..\obj\deployment.obj \ - ..\..\obj\environment.obj ..\..\obj\global.obj ..\..\obj\gos.obj \ - ..\..\obj\host.obj ..\..\obj\m_process.obj ..\..\obj\msg_config.obj \ - ..\..\obj\task.obj ..\..\obj\sd_workstation.obj ..\..\obj\sd_global.obj \ - ..\..\obj\sd_link.obj ..\..\obj\sd_task.obj \ - ..\..\obj\transport_plugin_sg.obj ..\..\obj\sg_transport.obj \ - ..\..\obj\sg_time.obj ..\..\obj\sg_dns.obj ..\..\obj\sg_emul.obj \ - ..\..\obj\sg_process.obj ..\..\obj\sg_msg.obj ..\..\obj\amok_base.obj \ - ..\..\obj\saturate.obj ..\..\obj\bandwidth.obj \ - ..\..\obj\peermanagement.obj ..\..\obj\context_win32.obj \ - ..\..\obj\context.obj -RESFILES = heap_bench.res -MAINSOURCE = heap_bench.bpf -RESDEPEN = $(RESFILES) -LIBFILES = -IDLFILES = -IDLGENFILES = -LIBRARIES = -PACKAGES = -SPARELIBS = -DEFFILE = -OTHERFILES = -# --------------------------------------------------------------------------- -DEBUGLIBPATH = $(BCB)\lib\debug -RELEASELIBPATH = $(BCB)\lib\release -USERDEFINES = _DEBUG -SYSDEFINES = NO_STRICT;_NO_VCL;_RTLDLL -INCLUDEPATH = ..\..\..\..\..\..\testsuite\xbt;..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\include;$(BCB)\include\vcl;..\..\..\..\..\..\include;..\..\..\..\..\..\src;..\..\..\..\..\..\src\include -LIBPATH = ..\..\..\..\..\..\testsuite\xbt;..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\lib\obj;$(BCB)\lib -WARNINGS= -w-rvl -w-rch -w-pia -w-pch -w-par -w-csu -w-ccc -w-aus -PATHCPP = .;..\..\..\..\..\..\testsuite\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt -PATHASM = .; -PATHPAS = .; -PATHRC = .; -PATHOBJ = .;$(LIBPATH) -# --------------------------------------------------------------------------- -CFLAG1 = -Od -H=$(BCB)\lib\vcl60.csm -Hc -Vx -Ve -X- -r- -a8 -b- -k -y -v -vi- -tWC \ - -tWM- -c -IDLCFLAGS = -I..\..\..\..\..\..\testsuite\xbt \ - -I..\..\..\..\..\..\src\amok\PeerManagement \ - -I..\..\..\..\..\..\src\amok\Bandwidth -I..\..\..\..\..\..\src\amok \ - -I..\..\..\..\..\..\src\simdag -I..\..\..\..\..\..\src\msg \ - -I..\..\..\..\..\..\src\surf -I..\..\..\..\..\..\src\gras\Virtu \ - -I..\..\..\..\..\..\src\gras\Msg -I..\..\..\..\..\..\src\gras\DataDesc \ - -I..\..\..\..\..\..\src\gras\Transport -I..\..\..\..\..\..\src\gras \ - -I..\..\..\..\..\..\src\xbt -I$(BCB)\include -I$(BCB)\include\vcl \ - -I..\..\..\..\..\..\include -I..\..\..\..\..\..\src \ - -I..\..\..\..\..\..\src\include -src_suffix cpp -D_DEBUG -boa -PFLAGS = -N2..\..\obj -N0..\..\obj -$YD -$W -$O- -$A8 -v -JPHNE -M -RFLAGS = -AFLAGS = /mx /w2 /zd -LFLAGS = -I..\..\obj -D"" -ap -Tpe -x -Gn -v -# --------------------------------------------------------------------------- -ALLOBJ = c0x32.obj $(OBJFILES) -ALLRES = $(RESFILES) -ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32i.lib -# --------------------------------------------------------------------------- -!ifdef IDEOPTIONS - -[Version Info] -IncludeVerInfo=0 -AutoIncBuild=0 -MajorVer=1 -MinorVer=0 -Release=0 -Build=0 -Debug=0 -PreRelease=0 -Special=0 -Private=0 -DLL=0 - -[Version Info Keys] -CompanyName= -FileDescription= -FileVersion=1.0.0.0 -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion=1.0.0.0 -Comments= - -[Debugging] -DebugSourceDirs=$(BCB)\source\vcl - -!endif - - - - - -# --------------------------------------------------------------------------- -# MAKE SECTION -# --------------------------------------------------------------------------- -# This section of the project file is not used by the BCB IDE. It is for -# the benefit of building from the command-line using the MAKE utility. -# --------------------------------------------------------------------------- - -.autodepend -# --------------------------------------------------------------------------- -!if "$(USERDEFINES)" != "" -AUSERDEFINES = -d$(USERDEFINES:;= -d) -!else -AUSERDEFINES = -!endif - -!if !$d(BCC32) -BCC32 = bcc32 -!endif - -!if !$d(CPP32) -CPP32 = cpp32 -!endif - -!if !$d(DCC32) -DCC32 = dcc32 -!endif - -!if !$d(TASM32) -TASM32 = tasm32 -!endif - -!if !$d(LINKER) -LINKER = ilink32 -!endif - -!if !$d(BRCC32) -BRCC32 = brcc32 -!endif - - -# --------------------------------------------------------------------------- -!if $d(PATHCPP) -.PATH.CPP = $(PATHCPP) -.PATH.C = $(PATHCPP) -!endif - -!if $d(PATHPAS) -.PATH.PAS = $(PATHPAS) -!endif - -!if $d(PATHASM) -.PATH.ASM = $(PATHASM) -!endif - -!if $d(PATHRC) -.PATH.RC = $(PATHRC) -!endif - -!if $d(PATHOBJ) -.PATH.OBJ = $(PATHOBJ) -!endif -# --------------------------------------------------------------------------- -$(PROJECT): $(OTHERFILES) $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE) - $(BCB)\BIN\$(LINKER) @&&! - $(LFLAGS) -L$(LIBPATH) + - $(ALLOBJ), + - $(PROJECT),, + - $(ALLLIB), + - $(DEFFILE), + - $(ALLRES) -! -# --------------------------------------------------------------------------- -.pas.hpp: - $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< } - -.pas.obj: - $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< } - -.cpp.obj: - $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< } - -.c.obj: - $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< } - -.c.i: - $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< } - -.cpp.i: - $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< } - -.asm.obj: - $(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@ - -.rc.res: - $(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $< - - - -# --------------------------------------------------------------------------- - - - - diff --git a/win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.res b/win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.res deleted file mode 100644 index 53d1accc46d0945afe50cda57289ae401923c1fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 876 zcmb_bu}Z{15S{3iB3E2*N=xBd!N>)Ih58qMf?H&Zl!3edxgt%9gEaFQ78Z-Yu)epO zy^BT=!AIWCyq$ToA!J2Fa?txoq+jrUmg?u|$wFZmnzf z51ktJx=uSS%K~fEMvay)h1R3yAZqNR*91Rx^m4D$%|7Za>hxEy(N7N>lb;@*pZwHQ zKXt3ER`%QZdOZJwc!Opy&O3;dL$wcI0J?@&GnlB`P-kn@NLUAY0bJBf1H$Yieu;ht zxx&A3q96w`CXqkuA9$O2neqlRRI9TftkD F$tNfOCK><$ diff --git a/win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.bpf b/win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.bpf deleted file mode 100644 index 12ae5a47b7..0000000000 --- a/win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.bpf +++ /dev/null @@ -1,4 +0,0 @@ -Ce fichier est uniquement utilisé par le gestionnaire de projets et doit être traité comme le fichier projet - - -main \ No newline at end of file diff --git a/win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.bpr b/win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.bpr deleted file mode 100644 index fbab7b1adb..0000000000 --- a/win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.bpr +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Version Info] -IncludeVerInfo=0 -AutoIncBuild=0 -MajorVer=1 -MinorVer=0 -Release=0 -Build=0 -Debug=0 -PreRelease=0 -Special=0 -Private=0 -DLL=0 -Locale=1036 -CodePage=1252 - -[Version Info Keys] -CompanyName= -FileDescription= -FileVersion=1.0.0.0 -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion=1.0.0.0 -Comments= - -[Excluded Packages] -c:\program files\borland\cbuilder6\Bin\dclclxdb60.bpl=Composants BD CLX Borland -C:\Program Files\Borland\CBuilder6\Bin\dclclxstd60.bpl=Composants Standard CLX Borland - -[HistoryLists\hlIncludePath] -Count=7 -Item0=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\include;$(BCB)\include\vcl;..\..\..\..\..\..\include;..\..\..\..\..\..\src;..\..\..\..\..\..\src\include -Item1=$(BCB)\include;$(BCB)\include\vcl;..\..\..\..\..\..\include;..\..\..\..\..\..\src;..\..\..\..\..\..\src\include -Item2=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\log_usage;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include;C:..\..\..\..\..\..\src;C:..\..\..\..\..\..\src\include -Item3=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\log_usage;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include;C:..\..\..\..\..\..\src;C:..\..\..\..\..\..\src\include -Item4=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\log_usage;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include;C:..\..\..\..\..\..\src -Item5=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\log_usage;$(BCB)\include;$(BCB)\include\vcl;C:..\..\..\..\..\..\include -Item6=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\log_usage;$(BCB)\include;$(BCB)\include\vcl - -[HistoryLists\hlLibraryPath] -Count=4 -Item0=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\lib\obj;$(BCB)\lib -Item1=$(BCB)\lib\obj;$(BCB)\lib -Item2=..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\log_usage;$(BCB)\lib\obj;$(BCB)\lib -Item3=C:..\..\..\..\..\..\src\amok\PeerManagement;C:..\..\..\..\..\..\src\amok\Bandwidth;C:..\..\..\..\..\..\src\amok;C:..\..\..\..\..\..\src\simdag;C:..\..\..\..\..\..\src\msg;C:..\..\..\..\..\..\src\surf;C:..\..\..\..\..\..\src\gras\Virtu;C:..\..\..\..\..\..\src\gras\Msg;C:..\..\..\..\..\..\src\gras\DataDesc;C:..\..\..\..\..\..\src\gras\Transport;C:..\..\..\..\..\..\src\gras;C:..\..\..\..\..\..\src\xbt;simgrid\static_link\log_usage;$(BCB)\lib\obj;$(BCB)\lib - -[HistoryLists\hlDebugSourcePath] -Count=1 -Item0=$(BCB)\source\vcl - -[HistoryLists\hlConditionals] -Count=1 -Item0=_DEBUG - -[HistoryLists\hlIntOutputDir] -Count=1 -Item0=..\..\obj - -[HistoryLists\hlFinalOutputDir] -Count=2 -Item0=..\..\bin\ -Item1=..\..\bin - -[HistoryLists\hIBPIOutputDir] -Count=1 -Item0=..\..\lib - -[Debugging] -DebugSourceDirs=$(BCB)\source\vcl - -[Parameters] -RunParams=--xbt-log="root.thres=debug root.thres=critical" -Launcher= -UseLauncher=0 -DebugCWD= -HostApplication= -RemoteHost= -RemotePath= -RemoteLauncher= -RemoteCWD= -RemoteDebug=0 - -[Compiler] -ShowInfoMsgs=0 -LinkDebugVcl=0 -LinkCGLIB=0 - -[CORBA] -AddServerUnit=1 -AddClientUnit=1 -PrecompiledHeaders=1 - -[Language] -ActiveLang= -ProjectLang= -RootDir= - - \ No newline at end of file diff --git a/win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.c b/win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.c deleted file mode 100644 index 7cd1afc001..0000000000 --- a/win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.c +++ /dev/null @@ -1,29 +0,0 @@ - -/* log_usage - A test of normal usage of the log facilities */ - -/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */ - -/* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - -#pragma hdrstop - -#include - -XBT_LOG_NEW_DEFAULT_SUBCATEGORY(test, top, - "Logging specific to this test"); -XBT_LOG_NEW_CATEGORY(top, "Useless test channel"); - -#pragma argsused - -int main(int argc, char **argv) -{ - xbt_init(&argc, argv); - - DEBUG1("val=%d", 1); - WARN1("val=%d", 2); - CDEBUG2(top, "val=%d%s", 3, "!"); - CRITICAL6("false alarm%s%s%s%s%s%s", "", "", "", "", "", "!"); - - return 0; -} diff --git a/win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.mak b/win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.mak deleted file mode 100644 index bd944e163a..0000000000 --- a/win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.mak +++ /dev/null @@ -1,229 +0,0 @@ -# --------------------------------------------------------------------------- -!if !$d(BCB) -BCB = $(MAKEDIR)\.. -!endif - -# --------------------------------------------------------------------------- -# IDE SECTION -# --------------------------------------------------------------------------- -# The following section of the project makefile is managed by the BCB IDE. -# It is recommended to use the IDE to change any of the values in this -# section. -# --------------------------------------------------------------------------- - -VERSION = BCB.06.00 -# --------------------------------------------------------------------------- -PROJECT = ..\..\bin\log_usage.exe -OBJFILES = ..\..\obj\log_usage.obj ..\..\obj\graphxml_parse.obj ..\..\obj\heap.obj \ - ..\..\obj\log.obj ..\..\obj\log_default_appender.obj \ - ..\..\obj\mallocator.obj ..\..\obj\set.obj ..\..\obj\snprintf.obj \ - ..\..\obj\swag.obj ..\..\obj\sysdep.obj ..\..\obj\xbt_main.obj \ - ..\..\obj\xbt_matrix.obj ..\..\obj\xbt_peer.obj ..\..\obj\asserts.obj \ - ..\..\obj\config.obj ..\..\obj\cunit.obj ..\..\obj\dict.obj \ - ..\..\obj\dict_cursor.obj ..\..\obj\dict_elm.obj ..\..\obj\dict_multi.obj \ - ..\..\obj\dynar.obj ..\..\obj\ex.obj ..\..\obj\fifo.obj \ - ..\..\obj\graph.obj ..\..\obj\gras.obj ..\..\obj\transport.obj \ - ..\..\obj\datadesc.obj ..\..\obj\ddt_convert.obj ..\..\obj\ddt_create.obj \ - ..\..\obj\ddt_exchange.obj ..\..\obj\ddt_parse.obj \ - ..\..\obj\ddt_parse.yy.obj ..\..\obj\cbps.obj ..\..\obj\timer.obj \ - ..\..\obj\msg.obj ..\..\obj\rpc.obj ..\..\obj\process.obj \ - ..\..\obj\gras_module.obj ..\..\obj\workstation_KCCFLN05.obj \ - ..\..\obj\cpu.obj ..\..\obj\maxmin.obj ..\..\obj\network.obj \ - ..\..\obj\network_dassf.obj ..\..\obj\surf.obj ..\..\obj\surf_timer.obj \ - ..\..\obj\surfxml_parse.obj ..\..\obj\trace_mgr.obj \ - ..\..\obj\workstation.obj ..\..\obj\deployment.obj \ - ..\..\obj\environment.obj ..\..\obj\global.obj ..\..\obj\gos.obj \ - ..\..\obj\host.obj ..\..\obj\m_process.obj ..\..\obj\msg_config.obj \ - ..\..\obj\task.obj ..\..\obj\sd_workstation.obj ..\..\obj\sd_global.obj \ - ..\..\obj\sd_link.obj ..\..\obj\sd_task.obj \ - ..\..\obj\transport_plugin_sg.obj ..\..\obj\sg_transport.obj \ - ..\..\obj\sg_time.obj ..\..\obj\sg_dns.obj ..\..\obj\sg_emul.obj \ - ..\..\obj\sg_process.obj ..\..\obj\sg_msg.obj ..\..\obj\amok_base.obj \ - ..\..\obj\saturate.obj ..\..\obj\bandwidth.obj \ - ..\..\obj\peermanagement.obj ..\..\obj\context_win32.obj \ - ..\..\obj\context.obj -RESFILES = log_usage.res -MAINSOURCE = log_usage.bpf -RESDEPEN = $(RESFILES) -LIBFILES = -IDLFILES = -IDLGENFILES = -LIBRARIES = -PACKAGES = -SPARELIBS = -DEFFILE = -OTHERFILES = -# --------------------------------------------------------------------------- -DEBUGLIBPATH = $(BCB)\lib\debug -RELEASELIBPATH = $(BCB)\lib\release -USERDEFINES = _DEBUG -SYSDEFINES = NO_STRICT;_NO_VCL -INCLUDEPATH = ..\..\..\..\..\..\testsuite\xbt;..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\include;$(BCB)\include\vcl;..\..\..\..\..\..\include;..\..\..\..\..\..\src;..\..\..\..\..\..\src\include -LIBPATH = ..\..\..\..\..\..\testsuite\xbt;..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\xbt;$(BCB)\lib\obj;$(BCB)\lib -WARNINGS= -w-rvl -w-rch -w-pia -w-pch -w-par -w-csu -w-ccc -w-aus -PATHCPP = .;..\..\..\..\..\..\testsuite\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\gras;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\DataDesc;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\surf;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\msg;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\simdag;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras\Transport;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Virtu;..\..\..\..\..\..\src\gras\Msg;..\..\..\..\..\..\src\amok;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok\Bandwidth;..\..\..\..\..\..\src\amok\PeerManagement;..\..\..\..\..\..\src\xbt;..\..\..\..\..\..\src\xbt -PATHASM = .; -PATHPAS = .; -PATHRC = .; -PATHOBJ = .;$(LIBPATH) -# --------------------------------------------------------------------------- -CFLAG1 = -Od -H=$(BCB)\lib\vcl60.csm -Hc -Vx -Ve -X- -r- -a8 -b- -k -y -v -vi- -tWC \ - -tWM- -c -IDLCFLAGS = -I..\..\..\..\..\..\testsuite\xbt \ - -I..\..\..\..\..\..\src\amok\PeerManagement \ - -I..\..\..\..\..\..\src\amok\Bandwidth -I..\..\..\..\..\..\src\amok \ - -I..\..\..\..\..\..\src\simdag -I..\..\..\..\..\..\src\msg \ - -I..\..\..\..\..\..\src\surf -I..\..\..\..\..\..\src\gras\Virtu \ - -I..\..\..\..\..\..\src\gras\Msg -I..\..\..\..\..\..\src\gras\DataDesc \ - -I..\..\..\..\..\..\src\gras\Transport -I..\..\..\..\..\..\src\gras \ - -I..\..\..\..\..\..\src\xbt -I$(BCB)\include -I$(BCB)\include\vcl \ - -I..\..\..\..\..\..\include -I..\..\..\..\..\..\src \ - -I..\..\..\..\..\..\src\include -src_suffix cpp -D_DEBUG -boa -PFLAGS = -N2..\..\obj -N0..\..\obj -$YD -$W -$O- -$A8 -v -JPHNE -M -RFLAGS = -AFLAGS = /mx /w2 /zd -LFLAGS = -I..\..\obj -D"" -ap -Tpe -x -Gn -v -# --------------------------------------------------------------------------- -ALLOBJ = c0x32.obj $(OBJFILES) -ALLRES = $(RESFILES) -ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32.lib -# --------------------------------------------------------------------------- -!ifdef IDEOPTIONS - -[Version Info] -IncludeVerInfo=0 -AutoIncBuild=0 -MajorVer=1 -MinorVer=0 -Release=0 -Build=0 -Debug=0 -PreRelease=0 -Special=0 -Private=0 -DLL=0 - -[Version Info Keys] -CompanyName= -FileDescription= -FileVersion=1.0.0.0 -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion=1.0.0.0 -Comments= - -[Debugging] -DebugSourceDirs=$(BCB)\source\vcl - -!endif - - - - - -# --------------------------------------------------------------------------- -# MAKE SECTION -# --------------------------------------------------------------------------- -# This section of the project file is not used by the BCB IDE. It is for -# the benefit of building from the command-line using the MAKE utility. -# --------------------------------------------------------------------------- - -.autodepend -# --------------------------------------------------------------------------- -!if "$(USERDEFINES)" != "" -AUSERDEFINES = -d$(USERDEFINES:;= -d) -!else -AUSERDEFINES = -!endif - -!if !$d(BCC32) -BCC32 = bcc32 -!endif - -!if !$d(CPP32) -CPP32 = cpp32 -!endif - -!if !$d(DCC32) -DCC32 = dcc32 -!endif - -!if !$d(TASM32) -TASM32 = tasm32 -!endif - -!if !$d(LINKER) -LINKER = ilink32 -!endif - -!if !$d(BRCC32) -BRCC32 = brcc32 -!endif - - -# --------------------------------------------------------------------------- -!if $d(PATHCPP) -.PATH.CPP = $(PATHCPP) -.PATH.C = $(PATHCPP) -!endif - -!if $d(PATHPAS) -.PATH.PAS = $(PATHPAS) -!endif - -!if $d(PATHASM) -.PATH.ASM = $(PATHASM) -!endif - -!if $d(PATHRC) -.PATH.RC = $(PATHRC) -!endif - -!if $d(PATHOBJ) -.PATH.OBJ = $(PATHOBJ) -!endif -# --------------------------------------------------------------------------- -$(PROJECT): $(OTHERFILES) $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE) - $(BCB)\BIN\$(LINKER) @&&! - $(LFLAGS) -L$(LIBPATH) + - $(ALLOBJ), + - $(PROJECT),, + - $(ALLLIB), + - $(DEFFILE), + - $(ALLRES) -! -# --------------------------------------------------------------------------- -.pas.hpp: - $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< } - -.pas.obj: - $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< } - -.cpp.obj: - $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< } - -.c.obj: - $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< } - -.c.i: - $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< } - -.cpp.i: - $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< } - -.asm.obj: - $(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@ - -.rc.res: - $(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $< - - - -# --------------------------------------------------------------------------- - - - - diff --git a/win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.res b/win32_testsuite/borland/builder6/simulation/xbt/log_usage/log_usage.res deleted file mode 100644 index 53d1accc46d0945afe50cda57289ae401923c1fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 876 zcmb_bu}Z{15S{3iB3E2*N=xBd!N>)Ih58qMf?H&Zl!3edxgt%9gEaFQ78Z-Yu)epO zy^BT=!AIWCyq$ToA!J2Fa?txoq+jrUmg?u|$wFZmnzf z51ktJx=uSS%K~fEMvay)h1R3yAZqNR*91Rx^m4D$%|7Za>hxEy(N7N>lb;@*pZwHQ zKXt3ER`%QZdOZJwc!Opy&O3;dL$wcI0J?@&GnlB`P-kn@NLUAY0bJBf1H$Yieu;ht zxx&A3q96w`CXqkuA9$O2neqlRRI9TftkD F$tNfOCK><$ -- 2.20.1