Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
belle-sip
Commits
df8d4f2e
Commit
df8d4f2e
authored
9 years ago
by
Gautier Pelloux-Prayer
Browse files
Options
Download
Patches
Plain Diff
tester: update bc_tester_utils
parent
68c00ba8
master
1.4.x
1.5.x
1.6.x
dev/parallel_tests
dev_msrp
dev_vla_removing
feature/add_server_groupchat_tester
feature/address-refactoring
feature/allow_ipv6_dns_servers_to_be_disabled
feature/bearer_auth
feature/conference_dialout
feature/crypto++
feature/hybrid_object
feature/improve_logs
feature/linphone-vcard-contacts-list-provisioning
feature/maddr-for-http
feature/more_iterates
feature/more_logs
feature/pre_refresh_listener
feature/refactor-event
feature/resolver-improvements
feature/sdp-belr
feature/swift_push_unit_tests
feature/tmp_voip
feature/to_string
feature/uwp_nuget
feature/video_image_resize
feature/yocto-kirkstone
fix/add_debug_logs
fix/audio-unit-callkit-master
fix/auth_event_memory_leak
fix/auth_info_replacement
fix/avoid-memory-leaks-timer-sources
fix/belle_sip_channel
fix/check-tests
fix/commented_broken_tests
fix/contact-handling
fix/dns-ttl
fix/fixes-from-5.4-march
fix/http_provider_memory_leak
fix/ios_build_add_libbelle-sip-tester_framework
fix/malformed-from
fix/prack
fix/prack_auth
fix/prack_retransmision_2
fix/pre_mbe_dtls3.6.1_with_belle_sip_loop_fix
fix/retry_after
fix/small_bug_fixes
fix/undesired-behaviours
fix/update-check
fix/user_agent_grammar
fix/video_conf_with_new_proto_packaging
fix/warnings_treated_as_error_arch
hotfix/4.0.1-ios
hotfix/4.2
hotfix/gh_issues_templates_syntax_error
release/1.4
release/1.6
release/4.2
release/4.3
release/4.4
release/4.5
release/5.0
release/5.1
release/5.2
release/5.3
release/5.4
test/dummy_change_to_trigger_tester_launch
5.5.0-alpha
5.4.2
5.4.1
5.4.0
5.4.0-beta
5.4.0-alpha
5.3.107
5.3.106
5.3.105
5.3.104
5.3.102
5.3.101
5.3.100
5.3.99
5.3.97
5.3.96
5.3.95
5.3.94
5.3.93
5.3.92
5.3.90
5.3.89
5.3.88
5.3.87
5.3.86
5.3.85
5.3.84
5.3.83
5.3.81
5.3.79
5.3.77
5.3.74
5.3.73
5.3.72
5.3.71
5.3.70
5.3.69
5.3.67
5.3.65
5.3.64
5.3.63
5.3.62
5.3.61
5.3.60
5.3.59
5.3.58
5.3.57
5.3.56
5.3.55
5.3.54
5.3.53
5.3.52
5.3.51
5.3.50
5.3.49
5.3.46
5.3.45
5.3.44
5.3.42
5.3.41
5.3.38
5.3.37
5.3.36
5.3.35
5.3.34
5.3.33
5.3.29
5.3.27
5.3.26
5.3.25
5.3.24
5.3.23
5.3.22
5.3.21
5.3.19
5.3.18
5.3.15
5.3.13
5.3.12
5.3.11
5.3.10
5.3.7
5.3.6
5.3.5
5.3.4
5.3.3
5.3.1
5.3.0
5.3.0-beta
5.3.0-alpha
5.2.114
5.2.113
5.2.112
5.2.111
5.2.109
5.2.108
5.2.107
5.2.106
5.2.105
5.2.102
5.2.100
5.2.98
5.2.97
5.2.95
5.2.94
5.2.93
5.2.91
5.2.89
5.2.86
5.2.85
5.2.83
5.2.78
5.2.73
5.2.71
5.2.70
5.2.64
5.2.63
5.2.58
5.2.57
5.2.54
5.2.53
5.2.52
5.2.51
5.2.49
5.2.45
5.2.42
5.2.37
5.2.32
5.2.30
5.2.29
5.2.28
5.2.27
5.2.26
5.2.25
5.2.23
5.2.22
5.2.21
5.2.16
5.2.12
5.2.11
5.2.9
5.2.6
5.2.5
5.2.4
5.2.2
5.2.0
5.2.0-alpha
5.1.72
5.1.71
5.1.67
5.1.66
5.1.64
5.1.61
5.1.60
5.1.58
5.1.55
5.1.51
5.1.47
5.1.45
5.1.44
5.1.32
5.1.31
5.1.12
5.1.10
5.1.3
5.1.2
5.1.0
5.1.0-beta
5.1.0-alpha
5.0.71
5.0.70
5.0.68
5.0.67
5.0.66
5.0.63
5.0.62
5.0.61
5.0.58
5.0.55
5.0.53
5.0.51
5.0.50
5.0.49
5.0.46
5.0.44
5.0.37
5.0.36
5.0.32
5.0.28
5.0.27
5.0.26
5.0.24
5.0.23
5.0.22
5.0.20
5.0.18
5.0.16
5.0.15
5.0.13
5.0.12
5.0.11
5.0.8
5.0.5
5.0.3
5.0.0
5.0.0-beta
5.0.0-alpha
4.5.22
4.5.20
4.5.15
4.5.14
4.5.13
4.5.12
4.5.10
4.5.7
4.5.3
4.5.1
4.5.0
4.5.0-alpha
4.4.34
4.4.33
4.4.32
4.4.31
4.4.29
4.4.28
4.4.27
4.4.26
4.4.25
4.4.24
4.4.22
4.4.21
4.4.19
4.4.18
4.4.17
4.4.16
4.4.13
4.4.12
4.4.10
4.4.9
4.4.8
4.4.7
4.4.6
4.4.5
4.4.4
4.4.2
4.4.0
4.4.0-beta
4.4.0-alpha
4.3.2
4.3.1
4.3.0
4.3.0-beta
1.6.3
1.6.2
1.6.1
1.6.0
1.5.0
1.4.2
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-0
.gitignore
tester/common/bc_tester_utils.c
+4
-3
tester/common/bc_tester_utils.c
with
5 additions
and
3 deletions
.gitignore
+
1
−
0
View file @
df8d4f2e
...
...
@@ -47,3 +47,4 @@ tester/belle_sip_tester_crt
tester/CUnitAutomated-Results.xml.tmp-Results.xml
belle-sip-tests.log
git-clang-format.diff
.bc_tester_utils.tmp
This diff is collapsed.
Click to expand it.
tester/common/bc_tester_utils.c
+
4
−
3
View file @
df8d4f2e
...
...
@@ -52,7 +52,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
static
char
*
bc_tester_resource_dir_prefix
=
NULL
;
// by default writable will always write near the executable
static
char
*
bc_tester_writable_dir_prefix
=
"."
;
static
char
*
bc_tester_writable_dir_prefix
=
NULL
;
int
bc_printf_verbosity_info
;
int
bc_printf_verbosity_error
;
...
...
@@ -392,7 +392,7 @@ static void detect_res_prefix(const char* prog) {
}
if
(
prefix
!=
NULL
)
{
if
(
bc_tester_resource_dir_prefix
!
=
NULL
)
{
if
(
bc_tester_resource_dir_prefix
=
=
NULL
)
{
printf
(
"Resource directory set to %s
\n
"
,
prefix
);
bc_tester_set_resource_dir_prefix
(
prefix
);
}
...
...
@@ -406,7 +406,7 @@ static void detect_res_prefix(const char* prog) {
// check that we can write in writable directory
if
(
bc_tester_writable_dir_prefix
!=
NULL
)
{
writable_file
=
fopen
(
"bc_tester_utils.tmp"
,
"w"
);
writable_file
=
fopen
(
"
.
bc_tester_utils.tmp"
,
"w"
);
if
(
writable_file
)
{
fclose
(
writable_file
);
}
...
...
@@ -431,6 +431,7 @@ void bc_tester_init(void (*ftester_printf)(int level, const char *format, va_lis
tester_printf_va
=
ftester_printf
;
bc_printf_verbosity_error
=
iverbosity_error
;
bc_printf_verbosity_info
=
iverbosity_info
;
bc_tester_writable_dir_prefix
=
strdup
(
"."
);
}
void
bc_tester_set_max_vm
(
long
max_vm_kb
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets