René's URL Explorer Experiment


Title: tests: Fix execution of testrunner for out-of-source builds by jcfr · Pull Request #510 · cppcheck-opensource/simplecpp · GitHub

Open Graph Title: tests: Fix execution of testrunner for out-of-source builds by jcfr · Pull Request #510 · cppcheck-opensource/simplecpp

X Title: tests: Fix execution of testrunner for out-of-source builds by jcfr · Pull Request #510 · cppcheck-opensource/simplecpp

Description: This pull request fixes the execution of the testrunner in out-of-source builds by setting the SIMPLECPP_SOURCE_DIR definition. This change ensures that the test runner can correctly find include paths by using the source directory. The CMakeLists.txt file is updated to define SIMPLECPP_SOURCE_DIR, and the test cases in test.cpp are modified to conditionally add this directory to the include paths if defined.

Open Graph Description: This pull request fixes the execution of the testrunner in out-of-source builds by setting the SIMPLECPP_SOURCE_DIR definition. This change ensures that the test runner can correctly find include p...

X Description: This pull request fixes the execution of the testrunner in out-of-source builds by setting the SIMPLECPP_SOURCE_DIR definition. This change ensures that the test runner can correctly find include p...

Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/pull/510

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c02d557c-0fd1-c643-b532-c1716db60e2c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC47C:7E3D2:1800B2E:20DC11B:6A4F2B54
html-safe-noncefec7358e4e7dabb3127a5a714c2d68b207610566220e76c676522e3d35ada8d1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDdDOjdFM0QyOjE4MDBCMkU6MjBEQzExQjo2QTRGMkI1NCIsInZpc2l0b3JfaWQiOiIyMjc5NjQ0NjcyNTY0MzQxNTg5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace0d4a5b543998ec1ca47af7685ede9083a37c0fb8579a45aaf57e8c9f8c1be14
hovercard-subject-tagpull_request:2773861852
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cppcheck-opensource/simplecpp/pull/510/files
twitter:imagehttps://avatars.githubusercontent.com/u/219043?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/219043?s=400&v=4
og:image:altThis pull request fixes the execution of the testrunner in out-of-source builds by setting the SIMPLECPP_SOURCE_DIR definition. This change ensures that the test runner can correctly find include p...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/cppcheck-opensource/simplecpp git https://github.com/cppcheck-opensource/simplecpp.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id33434464
octolytics-dimension-repository_nwocppcheck-opensource/simplecpp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id33434464
octolytics-dimension-repository_network_root_nwocppcheck-opensource/simplecpp
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/simplecpp/pull/510/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fsimplecpp%2Fpull%2F510%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fsimplecpp%2Fpull%2F510%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=cppcheck-opensource%2Fsimplecpp
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/510/files
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/510/files
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/510/files
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/510/files
cppcheck-opensource https://github.com/cppcheck-opensource
simplecpphttps://github.com/cppcheck-opensource/simplecpp
Notifications https://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp
Fork 104 https://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp
Star 263 https://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp
Code https://github.com/cppcheck-opensource/simplecpp
Issues 82 https://github.com/cppcheck-opensource/simplecpp/issues
Pull requests 31 https://github.com/cppcheck-opensource/simplecpp/pulls
Actions https://github.com/cppcheck-opensource/simplecpp/actions
Wiki https://github.com/cppcheck-opensource/simplecpp/wiki
Security and quality 0 https://github.com/cppcheck-opensource/simplecpp/security
Insights https://github.com/cppcheck-opensource/simplecpp/pulse
Code https://github.com/cppcheck-opensource/simplecpp
Issues https://github.com/cppcheck-opensource/simplecpp/issues
Pull requests https://github.com/cppcheck-opensource/simplecpp/pulls
Actions https://github.com/cppcheck-opensource/simplecpp/actions
Wiki https://github.com/cppcheck-opensource/simplecpp/wiki
Security and quality https://github.com/cppcheck-opensource/simplecpp/security
Insights https://github.com/cppcheck-opensource/simplecpp/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fcppcheck-opensource%2Fsimplecpp%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp%2Fissues%2Fnew%2Fchoose
danmarhttps://github.com/danmar
cppcheck-opensource:masterhttps://github.com/cppcheck-opensource/simplecpp/tree/master
jcfr:fix-testrunner-out-of-sourcehttps://github.com/jcfr/simplecpp/tree/fix-testrunner-out-of-source
Conversation 17 https://github.com/cppcheck-opensource/simplecpp/pull/510
Commits 6 https://github.com/cppcheck-opensource/simplecpp/pull/510/commits
Checks 12 https://github.com/cppcheck-opensource/simplecpp/pull/510/checks
Files changed https://github.com/cppcheck-opensource/simplecpp/pull/510/files
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/510/files
tests: Fix execution of testrunner for out-of-source builds https://github.com/cppcheck-opensource/simplecpp/pull/510/files#top
Show all changes 6 commits https://github.com/cppcheck-opensource/simplecpp/pull/510/files
4420563 tests: Fix execution of testrunner for out-of-source builds jcfr Aug 26, 2025 https://github.com/cppcheck-opensource/simplecpp/pull/510/commits/4420563a5dfe5cdb72470e0ce5a7b8330d45819d
a2afe26 tests: Rename define to more explicitly indicate the intent jcfr Aug 27, 2025 https://github.com/cppcheck-opensource/simplecpp/pull/510/commits/a2afe26606e7d1f02cc1df73b29ab03b512c15d0
acd1e99 ci: Run CMake testrunner from both repo root and build dir jcfr Aug 27, 2025 https://github.com/cppcheck-opensource/simplecpp/pull/510/commits/acd1e999c2ff7ea9450b547667c62d2a99486b5b
aa00d92 tests: Define SIMPLECPP_TEST_SOURCE_DIR for Makefile build jcfr Aug 27, 2025 https://github.com/cppcheck-opensource/simplecpp/pull/510/commits/aa00d92966c300b3b6e63868a9cc9300c9897953
d3b0ba1 chore: Simplify test runner introducing testSourceDir static variable jcfr Aug 27, 2025 https://github.com/cppcheck-opensource/simplecpp/pull/510/commits/d3b0ba1e6d18483b9ef3b4c83cc6f83629e09639
82c495b chore: move test-specific defines from CXXFLAGS to CPPFLAGS jcfr Aug 28, 2025 https://github.com/cppcheck-opensource/simplecpp/pull/510/commits/82c495bb7a595bb3fbd28f9fe4e88a668f6faaf7
Clear filters https://github.com/cppcheck-opensource/simplecpp/pull/510/files
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/510/files
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/510/files
CI-unixish.yml https://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-95e28f8bc6ae4183efc192884d6569eef7ed14539c51bf576e4b19b59e9972f3
CMakeLists.txt https://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a
Makefile https://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
test.cpp https://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
.github/workflows/CI-unixish.ymlhttps://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-95e28f8bc6ae4183efc192884d6569eef7ed14539c51bf576e4b19b59e9972f3
View file https://github.com/jcfr/simplecpp/blob/82c495bb7a595bb3fbd28f9fe4e88a668f6faaf7/.github/workflows/CI-unixish.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/simplecpp/pull/510/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-95e28f8bc6ae4183efc192884d6569eef7ed14539c51bf576e4b19b59e9972f3
https://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-95e28f8bc6ae4183efc192884d6569eef7ed14539c51bf576e4b19b59e9972f3
CMakeLists.txthttps://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a
View file https://github.com/jcfr/simplecpp/blob/82c495bb7a595bb3fbd28f9fe4e88a668f6faaf7/CMakeLists.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/simplecpp/pull/510/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a
Makefilehttps://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
View file https://github.com/jcfr/simplecpp/blob/82c495bb7a595bb3fbd28f9fe4e88a668f6faaf7/Makefile
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/simplecpp/pull/510/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
test.cpphttps://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
View file https://github.com/jcfr/simplecpp/blob/82c495bb7a595bb3fbd28f9fe4e88a668f6faaf7/test.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/simplecpp/pull/510/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
https://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
https://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
https://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
https://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
https://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
https://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
https://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
https://github.com/cppcheck-opensource/simplecpp/pull/510/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/510/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.