aboutsummaryrefslogtreecommitdiff
path: root/tests/symbol-scan.pl
AgeCommit message (Collapse)Author
2020-03-24copyright: fix out-of-date copyright ranges and missing headersDaniel Stenberg
Reported by the new script 'scripts/copyright.pl'. The script has a regex whitelist for the files that don't need copyright headers. Removed three (mostly usesless) README files from docs/ Closes #5141
2019-08-23defines: avoid underscore-prefixed definesDaniel Stenberg
Double-underscored or underscore plus uppercase letter at least. ... as they're claimed to be reserved. Reported-by: patnyb on github Fixes #4254 Closes #4255
2018-11-04symbols-in-versions: add missing CURLU_ symbolsDaniel Stenberg
...and fix symbol-scan.pl to also scan urlapi.h Reported-by: Alexey Melnichuk Fixes #3226 Closes #3230
2018-01-07scripts: allow all perl scripts to be run directlyJay Satiro
- Enable execute permission (chmod +x) - Change interpreter to /usr/bin/env perl Closes https://github.com/curl/curl/pull/2222
2016-02-03URLs: change all http:// URLs to https://Daniel Stenberg
2014-11-10symbol-scan.pl: do not require autotoolsPeter Wu
Makes test1119 pass when building with cmake. configurehelp.pm is generated by configure (autotools). As cmake does not provide a separate variable for the C preprocessor, default to cpp. Before commit ef24ecde68a5f577a7f0f423a767620f09a0ab16 ("symbol-scan: use configure script knowledge about how to run the C preprocessor"), this tool would also use 'cpp'. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2011-12-30removed trailing whitespaceYang Tse
2011-03-18symbol-scan.pl: detect duplicatesDaniel Stenberg
Test 1119 now also makes sure that symbols-in-versions doesn't contain any duplicates
2010-11-25symbol-scan: use configure script knowledge about how to run the C preprocessorYang Tse
2010-11-19Check for errors while preprocessing curl.h in test 1119Dan Fandrich
This showed a problem when running the test out-of-tree, so an include path is now being added to pick up the generated curlbuild.h file.
2010-11-19Use the 3-argument open for compatibility with older perlsDan Fandrich
2010-11-09symbols-in-version: add CURL_SOCKET_BADDaniel Stenberg
I also documented the filtering logic in the symbol-scan.pl function to clarify why not all CURL_* symbols are included.
2010-11-03symbol-scan: verifies symbols-in-versionsDaniel Stenberg
This new script scans for all enums and #defines used by the curl/curl.h and curl/multi.h headers. Then it reads all symbols mentioned in symbols-in-vesions and make sure that there's no entries missing in there. It then proceeds to verify that the entries that symbols-in-vesions mentions but aren't found in the sources are truly documented as removed. This script is used in the new test case 1119